示例#1
0
 public override void ResetWorld()
 {
     // mainFigure = CG.ApplyTransform(mainFigure, CG.TranslateZ(-10));
     worldToCamera       = MatrixExtensions.IdentityF(4);
     angleOfView         = 90;
     near                = 1f;
     far                 = 1000;
     projMatrix          = MatrixExtensions.IdentityF(4);
     worldToCamera[3, 1] = -10;
     worldToCamera[3, 2] = -20;
     // CG.setProjectionMatrix(projMatrix, angleOfView, near, far);
 }