Пример #1
0
 public Renderer()
 {
     mModelMatCalculator = new ModelMatCalculator();
     mRotationX          = (float)Math.PI / 4;
     mRotationY          = 0;
     mCameraOrbitRadius  = 5.0f;
     mCameraPosition     = new float[3];
     mCameraPosition[0]  = 5f;
     mCameraPosition[1]  = 5f;
     mCameraPosition[2]  = 5f;
     mDevicePosition     = new float[3];
     mDevicePosition[0]  = 0;
     mDevicePosition[1]  = 0;
     mDevicePosition[2]  = 0;
 }
Пример #2
0
 public virtual void resetModelMatCalculator()
 {
     mModelMatCalculator = new ModelMatCalculator();
 }