Packages

object Vec extends Serializable

Constructors to easily create Vec (a 2d or 3d point in space)

Source
vec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Vec
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val NaN: Vec
  5. def angle(alpha: Angle): Vec
  6. def apply(x: Long, y: Long, z: Long): Vec
  7. def apply(x: Double, y: Double): Vec
  8. def apply(str: String): Vec
  9. def apply(ds: Seq[Double]): Vec
  10. def apply(p: (Double, Double, Double)): Vec
  11. def apply(p: (Double, Double)): Vec
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def fill(v: Double): Vec
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def mag(m: Double): Vec
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def polar(mag: Double, angle: Angle): Vec
  26. def rand(mag: Double)(implicit rand: Rand): Vec
  27. def rand(implicit rand: Rand): Vec
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. val x: Vec
  34. val xy: Vec
  35. val xyz: Vec
  36. val y: Vec
  37. val z: Vec
  38. val zero: Vec
  39. implicit object ParsableVec extends Parsable[Vec]

Deprecated Value Members

  1. def angle(alpha: Double)(implicit d: DummyImplicit): Vec
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use the Angle type instead of just a double

  2. def apply(angle: Angle): Vec
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use Vec.angle(angle) instead

  3. def apply(mag: Double, angle: Angle)(implicit d: DummyImplicit): Vec
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use Vec.polar(mag,angle) instead

  4. def polar(mag: Double, angle: Double)(implicit d: DummyImplicit): Vec
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use the Angle type instead of just a double

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped