28package com.jogamp.opengl.util.stereo;
30import com.jogamp.math.Quaternion;
31import com.jogamp.math.Vec3f;
53 this.position =
new Vec3f();
63 System.arraycopy(
position, 0, this.position, 0, 3);
67 public final void setPosition(
final float posX,
final float posY,
final float posZ) {
Quaternion implementation supporting Gimbal-Lock free rotations.
final Quaternion set(final Quaternion src)
Set all values of this quaternion using the given src.
3D Vector based upon three float components.
Vec3f set(final Vec3f o)
this = o, returns this.
position and orientation of viewer.
final void setPosition(final Vec3f pos)
Set position and orientation of this instance.
final Quaternion orientation
Orientation of viewer.
ViewerPose(final float[] position, final Quaternion orientation)
final Vec3f position
position of viewer in meter.
final void setPosition(final float posX, final float posY, final float posZ)
Set position and orientation of this instance.