updateTransform method

void updateTransform()

Implementation

void updateTransform() {
  Quaternion q = Quaternion.euler(radians(rotation.x), radians(rotation.y),radians(rotation.z));
  final Matrix4 m = Matrix4.compose(position, q, scale);
  transform.setFrom(m);
  //transform.rotateX(pi/2);
}