Package org.deepjava.runtime.util
Class Vector4
- java.lang.Object
-
- org.deepjava.runtime.util.Matrix
-
- org.deepjava.runtime.util.Vector
-
- org.deepjava.runtime.util.Vector4
-
public class Vector4 extends Vector
This class implements a 4-dimensional vector.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(double x, double y, double z, double s)
Sets the values of the vector.
-
-
-
Constructor Detail
-
Vector4
public Vector4()
Creates a newVector
with 4 dimensions.
-
Vector4
public Vector4(double x, double y, double z, double s)
Creates a newVector
with 4 dimensions and initializes it.- Parameters:
x
- Value of first dimensiony
- Value of second dimensionz
- Value of third dimensions
- Value of forth dimension
-
-