Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
def movePlayerShip(newX: Option[Double] = None, newY: Option[Doufragmentble] = None) = {
import playerShip.object3d._
position.set(newX.getOrElse(position.x), newY.getOrElse(position.y), position.z)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.