Class/Object

scryetek.vecmath

Vec4

Related Docs: object Vec4 | package vecmath

Permalink

final class Vec4 extends AnyRef

Annotations
@inline()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vec4
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Vec4()

    Permalink
  2. new Vec4(x: Float, y: Float, z: Float, w: Float)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(s: Float): Vec4

    Permalink

    Returns the vector scaled by the given scalar.

    Returns the vector scaled by the given scalar.

    Annotations
    @inline()
  4. def *(v: Vec4): Float

    Permalink

    The dot product of two vectors.

    The dot product of two vectors.

    Annotations
    @inline()
  5. def +(v: Vec4): Vec4

    Permalink

    Adds two vectors.

    Adds two vectors.

    Annotations
    @inline()
  6. def -(v: Vec4): Vec4

    Permalink

    Subtracts two vectors.

    Subtracts two vectors.

    Annotations
    @inline()
  7. def /(s: Float): Vec4

    Permalink

    Returns the vector dividied by the given scalar.

    Returns the vector dividied by the given scalar.

    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def add(x: Float, y: Float, z: Float, w: Float, out: Vec4): Vec4

    Permalink
    Annotations
    @inline()
  10. def add(x: Float, y: Float, z: Float, w: Float): Vec4

    Permalink
    Annotations
    @inline()
  11. def add(v: Vec4, out: Vec4 = this): Vec4

    Permalink
    Annotations
    @inline()
  12. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def copy(x: Float = x, y: Float = y, z: Float = z, w: Float = w): Vec4

    Permalink
    Annotations
    @inline()
  15. def div(s: Float, out: Vec4 = this): Vec4

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

    Permalink
    Definition Classes
    AnyRef
  17. def equals(o: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  22. def lerp(q: Vec4, t: Float, out: Vec4): Vec4

    Permalink

    Destructively places the linear interpolation of this vector with another into out, with t ranging from 0..1

  23. def lerp(q: Vec4, t: Float): Vec4

    Permalink

    Returns the linear interpolation of this vector with another, with t ranging from 0..1

    Returns the linear interpolation of this vector with another, with t ranging from 0..1

    Annotations
    @inline()
  24. def magSqr: Float

    Permalink

    Returns the squared magnitude (length2) of this vector.

    Returns the squared magnitude (length2) of this vector.

    Annotations
    @inline()
  25. def magnitude: Float

    Permalink
    Annotations
    @inline()
  26. def max(v: Vec4): Vec4

    Permalink
    Annotations
    @inline()
  27. def min(v: Vec4): Vec4

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

    Permalink
    Definition Classes
    AnyRef
  29. def negate(out: Vec4 = this): Vec4

    Permalink
    Annotations
    @inline()
  30. def normalize(out: Vec4 = this): Vec4

    Permalink
    Annotations
    @inline()
  31. def normalized: Vec4

    Permalink

    Returns the normalized vector.

    Returns the normalized vector.

    Annotations
    @inline()
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def scale(s: Float, out: Vec4 = this): Vec4

    Permalink
    Annotations
    @inline()
  35. def set(v: Vec4): Vec4

    Permalink
    Annotations
    @inline()
  36. def set(x: Float = this.x, y: Float = this.y, z: Float = this.z, w: Float = this.w): Vec4

    Permalink
    Annotations
    @inline()
  37. def sub(x: Float, y: Float, z: Float, w: Float): Vec4

    Permalink
    Annotations
    @inline()
  38. def sub(x: Float, y: Float, z: Float, w: Float, out: Vec4): Vec4

    Permalink
    Annotations
    @inline()
  39. def sub(v: Vec4, out: Vec4 = this): Vec4

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

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

    Permalink
    Definition Classes
    Vec4 → AnyRef → Any
  42. def unary_-: Vec4

    Permalink
    Annotations
    @inline()
  43. var w: Float

    Permalink
  44. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. var x: Float

    Permalink
  48. var y: Float

    Permalink
  49. var z: Float

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped