forked from 0ad/0ad
14 lines
361 B
C++
14 lines
361 B
C++
|
//***********************************************************
|
||
|
//
|
||
|
// Name: MathUtil.Cpp
|
||
|
// Last Update: 28/1/02
|
||
|
// Author: Poya Manouchehri
|
||
|
//
|
||
|
// Description: This file contains some maths related
|
||
|
// utility macros and fucntions.
|
||
|
//
|
||
|
//***********************************************************
|
||
|
unsigned int F2DW (float f)
|
||
|
{
|
||
|
return *((unsigned int*)&f);
|
||
|
}
|