3ds Max C++ API Reference
Functions
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 = sin(angle);
27
*cosine = cos(angle);
28
}
◆
Sin()
float Sin
(
float
angle
)
inline
Remarks
Returns the sine of the specified angle as a float.
32
{
33
return
sin(angle);
34
}
◆
Cos()
float Cos
(
float
angle
)
inline
Remarks
Returns the cosine of the specified angle as a float.
38
{
39
return
cos(angle);
40
}
◆
Sqrt()
float Sqrt
(
float
arg
)
inline
Remarks
Returns the square root of the specified argument as a float.
44
{
45
return
sqrt(arg);
46
}
maxsdk
include
gfloat.h
Generated by
1.9.1