DDraceNetwork Docs
fxp Class Reference

#include <math.h>

Public Member Functions

void set (int v)
 
int get () const
 
fxpoperator= (int v)
 
fxpoperator= (float v)
 
 operator int () const
 
 operator float () const
 

Private Attributes

int value
 

Member Function Documentation

◆ get()

int fxp::get ( ) const
inline

◆ operator float()

fxp::operator float ( ) const
inline

◆ operator int()

fxp::operator int ( ) const
inline

◆ operator=() [1/2]

fxp & fxp::operator= ( float  v)
inline

◆ operator=() [2/2]

fxp & fxp::operator= ( int  v)
inline

◆ set()

void fxp::set ( int  v)
inline

Member Data Documentation

◆ value

int fxp::value
private

The documentation for this class was generated from the following file: