field

kit

package kit

Type Members

  1. type Colour = Colour

  2. type Logger = Logger

  3. type Timer = Timer

  4. type Vec = Vec

  5. type Vec2 = Vec2

  6. type Vec3 = Vec3

  7. type Vec4 = Vec4

Value Members

  1. val Colour: Colour

  2. val DECIMAL: Regex

    regular expression to detect a number within a string with optional minus and fractional part

    regular expression to detect a number within a string with optional minus and fractional part

    attributes: final
    definition classes: Package
  3. val DEG_TO_RAD: Float

    A value to multiply a degree value by, to convert it to radians

    A value to multiply a degree value by, to convert it to radians.

    attributes: final
    definition classes: Trigonometry
  4. val HALF_PI: Float

    The value PI/2 as a float

    The value PI/2 as a float. (90 degrees)

    attributes: final
    definition classes: Trigonometry
  5. val INV_PI: Float

    The value 1/PI as a float

    The value 1/PI as a float.

    attributes: final
    definition classes: Trigonometry
  6. val Logger: Logger

  7. val PI: Float

    The value PI as a float

    The value PI as a float. (180 degrees)

    attributes: final
    definition classes: Trigonometry
  8. val QUARTER_PI: Float

    The value PI/4 as a float

    The value PI/4 as a float. (45 degrees)

    attributes: final
    definition classes: Trigonometry
  9. val RAD_TO_DEG: Float

    A value to multiply a radian value by, to convert it to degrees

    A value to multiply a radian value by, to convert it to degrees.

    attributes: final
    definition classes: Trigonometry
  10. val THIRD_PI: Float

    The value PI/3 as a float

    The value PI/3 as a float. (60 degrees)

    attributes: final
    definition classes: Trigonometry
  11. val TWO_PI: Float

    The value 2PI as a float

    The value 2PI as a float. (360 degrees)

    attributes: final
    definition classes: Trigonometry
  12. val Timer: Timer

  13. val Vec2: Vec2

  14. val Vec3: Vec3

  15. val Vec4: Vec4

  16. package colour

  17. def doubleTofloat(d: Double): Float

  18. package math

  19. val rnd: Random

  20. def tuple2fToVec2(xy: (Float, Float)): Vec2

  21. def tuple3fToVec3(xyz: (Float, Float, Float)): Vec3

  22. package util

  23. val π: Float