Converted Quat4f to Scala.