maxscript/foundation/3dmath.h File Reference

3dmath.h File Reference
+ This reference page is linked to from the following overview topics:

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))
 

Functions

ScripterExport void _QuatToEuler (Quat &q, float *ang)
 
ScripterExport void _EulerToQuat (float *ang, Quat &q)
 
applyable_class_debug_ok(Point3Value)
class Point3Value 
ENABLE_STACK_ALLOCATE (Point3Value)
 
ScripterExport Point3Value (Point3 init_point)
 
ScripterExport Point3Value (float x, float y, float z)
 
ScripterExport Point3Value (Value *x, Value *y, Value *z)
 
 classof_methods (Point3Value, Value)
 
void collect ()
 
ScripterExport void sprin1 (CharStream *s)
 
static Valuemake (Value **arg_list, int count)
 

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))

Function Documentation

ScripterExport void _QuatToEuler ( Quat q,
float *  ang 
)
ScripterExport void _EulerToQuat ( float *  ang,
Quat q 
)
applyable_class_debug_ok (Point3Value) class Point3Value ENABLE_STACK_ALLOCATE ( Point3Value  )
ScripterExport Point3Value ( Point3  init_point)
ScripterExport Point3Value ( float  x,
float  y,
float  z 
)
ScripterExport Point3Value ( Value x,
Value y,
Value z 
)
classof_methods ( Point3Value  ,
Value   
)
void collect ( )
ScripterExport void sprin1 ( CharStream s)
351 { s->printf(_M("LabelControl:%s"), name->to_string()); }
Value * name
Definition: structs.h:25
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
virtual const MCHAR * to_string()
Definition: value.h:171
static Value* make ( Value **  arg_list,
int  count 
)
static