Matrix3D transformationMatrix3D

Source

@override
Matrix3D get transformationMatrix3D {

  if (_transformationMatrix3DRefresh) {
    _transformationMatrix3DRefresh = false;
    _transformationMatrix3D.setIdentity();
    _transformationMatrix3D.rotateX(0.0 - rotationX);
    _transformationMatrix3D.rotateY(0.0 + rotationY);
    _transformationMatrix3D.rotateZ(0.0 - rotationZ);
    _transformationMatrix3D.translate(offsetX, offsetY, offsetZ);
  }

  return _transformationMatrix3D;
}