Interface VectorStorageFloating4Type
- All Superinterfaces:
VectorReadable2DType,VectorReadable3DType,VectorReadable4DType,VectorStorageFloating2Type,VectorStorageFloating3Type,VectorStorageType
- All Known Subinterfaces:
PVectorByteBufferedFloating4Type<T>,PVectorStorageFloating4Type<T>,VectorByteBufferedFloating4Type
- All Known Implementing Classes:
PVectorByteBufferedFloating4s16,PVectorByteBufferedFloating4s32,PVectorByteBufferedFloating4s64,PVectorMutable4D,VectorByteBufferedFloating4s16,VectorByteBufferedFloating4s32,VectorByteBufferedFloating4s64,VectorMutable4D
public interface VectorStorageFloating4Type extends VectorReadable4DType, VectorStorageFloating3Type
The type of mutable 4D floating point number vectors.
-
Method Summary
Modifier and Type Method Description default voidsetVector4D(Vector4D v)Set the components from the given vector.default voidsetVector4F(Vector4F v)Set the components from the given vector.voidsetW(double w)Set thewcomponent.default voidsetXYZW(double x, double y, double z, double w)Set thex,y,z, andwcomponents.Methods inherited from interface com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType
x, yMethods inherited from interface com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType
zMethods inherited from interface com.io7m.jtensors.core.unparameterized.vectors.VectorReadable4DType
wMethods inherited from interface com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating2Type
setVector2D, setVector2F, setX, setXY, setYMethods inherited from interface com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating3Type
setVector3D, setVector3F, setXYZ, setZ
-
Method Details
-
setVector4D
Set the components from the given vector.- Parameters:
v- The source vector
-
setVector4F
Set the components from the given vector.- Parameters:
v- The source vector
-
setW
void setW(double w)Set thewcomponent.- Parameters:
w- The W component
-
setXYZW
default void setXYZW(double x, double y, double z, double w)Set thex,y,z, andwcomponents.- Parameters:
x- The X componenty- The Y componentz- The Z componentw- The W component
-