Example #1
0
 public Viewport3d(Drawing3D parent)
 {
     this.parent    = parent;
     parent.Resize += parent_Resize;
     viewMatrix     = Matrix4.Mult(Matrix4.CreateRotationX(-OpenTK.MathHelper.PiOver4), viewMatrix);
 }
Example #2
0
 public Viewport3d(Drawing3D parent)
 {
     this.parent = parent;
     parent.Resize += parent_Resize;
     viewMatrix = Matrix4.Mult(Matrix4.CreateRotationX(-OpenTK.MathHelper.PiOver4), viewMatrix);
 }