fixed.h File Reference

Go to the source code of this file.

Classes

class  fixed

Defines

#define FIXED_RESOLUTION   10000
#define FIXED_RESOLUTION_FLOAT   10000.0f

Functions

fixed absx (fixed p_Base)
fixed floorx (fixed fixedVal)
fixed ceilx (fixed fixedVal)
fixed sqrtx (fixed fixedVal)
fixed powx (fixed fixedVal, fixed fixedPower)
fixed log10x (fixed fixedVal)
fixed logx (fixed fixedVal)
fixed expx (fixed fixedVal)
fixed sinx (fixed x)
fixed cosx (fixed x)
fixed tanx (fixed x)
fixed atanx (fixed x)
fixed atan2x (fixed x, fixed y)


Define Documentation

#define FIXED_RESOLUTION   10000

Definition at line 28 of file fixed.h.

Referenced by addTank(), fixed::asInt(), fixed::ceil(), fixed::fixed(), fixed_internal_div(), fixed_internal_mult(), fixed::floor(), FixedVector::Magnitude(), fixed::operator++(), and fixed::operator--().

#define FIXED_RESOLUTION_FLOAT   10000.0f

Definition at line 29 of file fixed.h.

Referenced by fixed::asFloat(), and fixed::fromFloat().


Function Documentation

fixed absx ( fixed  p_Base  ) 

Definition at line 233 of file fixed.cpp.

References fixed::fixed().

fixed atan2x ( fixed  x,
fixed  y 
)

Definition at line 550 of file fixed.cpp.

References _atanx().

fixed atanx ( fixed  x  ) 

Definition at line 541 of file fixed.cpp.

References _atanx(), and fixed::fixed().

fixed ceilx ( fixed  fixedVal  ) 

Definition at line 367 of file fixed.cpp.

References fixed::ceil().

fixed cosx ( fixed  x  ) 

Definition at line 478 of file fixed.cpp.

References fixed::cos().

fixed expx ( fixed  fixedVal  ) 

Definition at line 331 of file fixed.cpp.

References fixed::exp().

fixed floorx ( fixed  fixedVal  ) 

Definition at line 362 of file fixed.cpp.

References fixed::floor().

fixed log10x ( fixed  fixedVal  ) 

Definition at line 341 of file fixed.cpp.

References fixed::log10().

fixed logx ( fixed  fixedVal  ) 

Definition at line 357 of file fixed.cpp.

References fixed::log().

fixed powx ( fixed  fixedVal,
fixed  fixedPower 
)

Definition at line 321 of file fixed.cpp.

References fixed::pow().

fixed sinx ( fixed  x  ) 

Definition at line 439 of file fixed.cpp.

References fixed::sin().

fixed sqrtx ( fixed  fixedVal  ) 

Definition at line 311 of file fixed.cpp.

References fixed::sqrt().

fixed tanx ( fixed  x  ) 

Definition at line 488 of file fixed.cpp.

References fixed::tan().


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3