3ds Max C++ API Reference
gfloat.h File Reference
#include <math.h>

Functions

void SinCos (float angle, float *sine, float *cosine)
 
float Sin (float angle)
 
float Cos (float angle)
 
float Sqrt (float arg)
 

Function Documentation

◆ SinCos()

void SinCos ( float  angle,
float *  sine,
float *  cosine 
)
inline
Remarks
Returns both the sine and cosine of the specified angle as floats.
25 {
26  *sine = sinf(angle);
27  *cosine = cosf(angle);
28 }

◆ Sin()

float Sin ( float  angle)
inline
Remarks
Returns the sine of the specified angle as a float.
32 {
33  return sinf(angle);
34 }

◆ Cos()

float Cos ( float  angle)
inline
Remarks
Returns the cosine of the specified angle as a float.
38 {
39  return cosf(angle);
40 }

◆ Sqrt()

float Sqrt ( float  arg)
inline
Remarks
Returns the square root of the specified argument as a float.
44 {
45  return sqrtf(arg);
46 }