Return to previous page | Return to menu | Go to next page


void
Arithmetic functions

slCalcPoint

Substitute by multiplying the current matrix with the specified point

Format

void slCalcPoint(x , y, z , ans)
FIXED x , y , z ;
FIXED *ans ;

Parameter

x X component of conversion coordinate specification
y Y component of conversion coordinate specification
z Z component for conversion coordinates
ans [XYZ] XYZ component substitution variable after matrix conversion

Function

Multiply the current matrix by the XYZ coordinate value specified as a parameter and assign the calculation result to the parameter “ans [XYZ]”.

Return value

None

Reference: Chapter 11 Arithmetic Functions

slCalcPoint


Return to previous page | Return to menu | Go to next page