Class spatialAudio.Vector3D
All Packages Class Hierarchy This Package Previous Next Index
Class spatialAudio.Vector3D
java.lang.Object
|
+----spatialAudio.Vector3D
- public class Vector3D
- extends Object
Vector3D class stores the information for a 3D vector which can be
used to specify the position or orientation of an object.
Copyright (c) 1996 Intel Corporation
-
x
- The x value of the vector.
-
y
- The y value of the vector.
-
z
- The z value of the vector.
-
Vector3D()
- Creates a new 3D vector with the x, y, and z values set to zero.
-
Vector3D(float, float, float)
- Creates a new 3D vector with the specified x, y, and z values.
-
toString()
-
x
public float x
- The x value of the vector.
y
public float y
- The y value of the vector.
z
public float z
- The z value of the vector.
Vector3D
public Vector3D()
- Creates a new 3D vector with the x, y, and z values set to zero.
Vector3D
public Vector3D(float x,
float y,
float z)
- Creates a new 3D vector with the specified x, y, and z values.
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index