Testing out JmonkeyEngine to make a game in Scala with Akka Actors within a pure FP layer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
260 B

4 years ago
4 years ago
  1. package wow.doge.mygame.math;
  2. case class ImVector3f(x: Float = 0f, y: Float = 0f, z: Float = 0f)
  3. object ImVector3f {
  4. val ZERO = ImVector3f(0, 0, 0)
  5. val UNIT_X = ImVector3f(1, 0, 0)
  6. val UNIT_Y = ImVector3f(0, 1, 0)
  7. val UNIT_Z = ImVector3f(0, 0, 1)
  8. }