|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.video.VideoUtil
public class VideoUtil
Method Summary | |
---|---|
static void |
billboardSpherical(Context opt,
Vector position)
This is much the same as turnToFace3D, except for two differences. |
static void |
turnToFace3D(Context opt,
Vector target,
Vector orientation,
Vector position)
Turns an object (through OpenGL transformations) to face target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void turnToFace3D(Context opt, Vector target, Vector orientation, Vector position)
opt
- the Context object for rendering.target
- the position of the point to face the object toward.orientation
- a normal Vector describing the initial orientation of
the object.position
- the object's position in world space.public static void billboardSpherical(Context opt, Vector position)
position
- the object's position in world space.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |