Package icyllis.arc3d.core

# Class Vector4

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

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

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `float`
  `w`
  `float`
  `x`
  `float`
  `y`
  `float`
  `z`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Vector4()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `transform(Matrix4 mat)`
  Transform this vector by a 4x4 transformation matrix.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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