maxscript/foundation/3dmath.h File Reference

3dmath.h File Reference

Macros

#define is_point3(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point3Value))
 
#define is_ray(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(RayValue))
 
#define is_quat(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(QuatValue))
 
#define is_angaxis(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(AngAxisValue))
 
#define is_eulerangles(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(EulerAnglesValue))
 
#define is_matrix3(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Matrix3Value))
 
#define is_point2(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point2Value))
 
#define is_point4(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point4Value))
 
#define is_box2(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Box2Value))
 
#define is_box3(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Box3Value))
 

Functions

ScripterExport void _QuatToEuler (Quat &q, float *ang)
 
ScripterExport void _EulerToQuat (float *ang, Quat &q)
 

Macro Definition Documentation

#define is_point3 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point3Value))
#define is_ray (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(RayValue))
#define is_quat (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(QuatValue))
#define is_angaxis (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(AngAxisValue))
#define is_eulerangles (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(EulerAnglesValue))
#define is_matrix3 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Matrix3Value))
#define is_point2 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point2Value))
#define is_point4 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Point4Value))
#define is_box2 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Box2Value))
#define is_box3 (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(Box3Value))

Function Documentation

ScripterExport void _QuatToEuler ( Quat q,
float *  ang 
)
ScripterExport void _EulerToQuat ( float *  ang,
Quat q 
)