Class Vector4

java.lang.Object
icyllis.arc3d.core.Vector4

public class Vector4 extends Object
Represents a four-dimensional vector.
  • Field Details

    • x

      public float x
    • y

      public float y
    • z

      public float z
    • w

      public float w
  • Constructor Details

    • Vector4

      public Vector4()
  • Method Details

    • transform

      public void transform(@Nonnull Matrix4 mat)
      Transform this vector by a 4x4 transformation matrix.
      Parameters:
      mat - the matrix used as the transformation