[Obj R] = RotateObject(Obj0,upDir,VT)
Rotates an object as defined in Targ.Object from TargStruct based on a desired direction of motion and zenith direction.
Parameters |
Description |
Obj0 [struct] |
Original object structure with fields vertices and facets |
upDir [vector] |
Desired direction for "up" |
VT [vector] |
Desired direction of motion |
Return Values |
Description |
Obj [struct] |
Object structure with any computed rotation applied |
R [matrix] |
Rotation matrix applied |
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|