Object/Class

scryetek.vecmath

Mat4

Related Docs: class Mat4 | package vecmath

Permalink

object Mat4

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mat4
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(): Mat4

    Permalink
  5. def apply(m00: Float, m01: Float, m02: Float, m03: Float, m10: Float, m11: Float, m12: Float, m13: Float, m20: Float, m21: Float, m22: Float, m23: Float, m30: Float, m31: Float, m32: Float, m33: Float): Mat4

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def frustum(left: Float, right: Float, bottom: Float, top: Float, zNear: Float, zFar: Float): Mat4

    Permalink
    Annotations
    @inline()
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lookAt(eye: Vec3, center: Vec3, up: Vec3): Mat4

    Permalink

    Constructs a rotation and trnslation matrix that positions at the eye vector, looking at the center vector, with the given up vector.

    Constructs a rotation and trnslation matrix that positions at the eye vector, looking at the center vector, with the given up vector.

    None of these vectors need normalization.

    eye

    the eye vector - the position we are at.

    center

    the center vector - the point we are looking at.

    up

    the up vector - which direction points up.

    Annotations
    @inline()
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def ortho(left: Float, right: Float, bottom: Float, top: Float, zNear: Float = 1, zFar: Float = 1): Mat4

    Permalink

    Constructs an orthographic projection martix

    Constructs an orthographic projection martix

    left

    the left plane position

    right

    the right plane position

    bottom

    the bottom plane position

    top

    the top plane position

    zNear

    the near plane position

    zFar

    the far plane position

    Annotations
    @inline()
  20. def perspective(fovy: Float, aspect: Float, zNear: Float, zFar: Float): Mat4

    Permalink

    Construct a perspective projection matrix

    Construct a perspective projection matrix

    fovy

    the fov of the y, in radians.

    aspect

    the aspect ratio of the viewport

    zNear

    the near plane position

    zFar

    the far plane position

    Annotations
    @inline()
    Note

    as the near plane approaches 0, depth buffer precision approaches 0.

  21. def rotate(angle: Float, axis: Vec3): Mat4

    Permalink

    Returns the rotation matrix about the given angle and axis.

    Returns the rotation matrix about the given angle and axis.

    angle

    the angle to rotate, in radians.

    axis

    the axis vector to rotate around, must be normalized.

    Annotations
    @inline()
  22. def rotate(angle: Float, x: Float, y: Float, z: Float): Mat4

    Permalink

    Returns the rotation matrix about the given angle and axis.

    Returns the rotation matrix about the given angle and axis.

    angle

    the angle to rotate, in radians.

    x

    the x-component of the axis vector to rotate around, must be normalized.

    y

    the y-component of the axis vector to rotate around, must be normalized.

    z

    the z-component of the axis vector to rotate around, must be normalized.

    Annotations
    @inline()
  23. def rotateQuat(x: Float, y: Float, z: Float, w: Float): Mat4

    Permalink
    Annotations
    @inline()
  24. def rotateQuat(q: Quat): Mat4

    Permalink
    Annotations
    @inline()
  25. def rotateX(angle: Float): Mat4

    Permalink

    Returns the rotation matrix rotating around the X-axis.

    Returns the rotation matrix rotating around the X-axis.

    Annotations
    @inline()
  26. def rotateY(angle: Float): Mat4

    Permalink

    Returns the rotation matrix rotating around the Y-axis.

    Returns the rotation matrix rotating around the Y-axis.

    Annotations
    @inline()
  27. def rotateZ(angle: Float): Mat4

    Permalink

    Returns the rotation matrix rotating around the Z-axis.

    Returns the rotation matrix rotating around the Z-axis.

    Annotations
    @inline()
  28. def scale(s: Vec3): Mat4

    Permalink

    Returns a scale matrix

    Returns a scale matrix

    s

    the scale vector

    Annotations
    @inline()
  29. def scale(x: Float, y: Float, z: Float): Mat4

    Permalink

    Returns a scale matrix

    Returns a scale matrix

    x

    the x-scale

    y

    the y-scale

    z

    the z-scale

    Annotations
    @inline()
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def translate(t: Vec3): Mat4

    Permalink

    Returns a translate matrix

    Returns a translate matrix

    t

    the translation vector

    Annotations
    @inline()
  33. def translate(x: Float, y: Float, z: Float): Mat4

    Permalink

    Returns a translate matrix

    Returns a translate matrix

    x

    the x-translation

    y

    the y-translation

    z

    the z-translation

    Annotations
    @inline()
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped