Merge commit 'aed221f8f0451e1fe1a2f3fdd1db51af1d947aaf' into GLCameraController
commit
c2a9bcfef0
|
@ -19,7 +19,7 @@ namespace org.budnhead.core
|
||||||
public static SquaredMap activeMap;
|
public static SquaredMap activeMap;
|
||||||
|
|
||||||
public static float edge = 5;
|
public static float edge = 5;
|
||||||
public static readonly float maxHeight = 128.0f;
|
public static readonly float maxHeight = 64.0f;
|
||||||
|
|
||||||
private int width,
|
private int width,
|
||||||
height;
|
height;
|
||||||
|
|
|
@ -71,7 +71,7 @@ namespace org.budnhead.graphics
|
||||||
(int)(cr.Height * Height)
|
(int)(cr.Height * Height)
|
||||||
);
|
);
|
||||||
|
|
||||||
Console.WriteLine(String.Format("viewPort: {0} {1}",cr,vpr));
|
//Console.WriteLine(String.Format("viewPort: {0} {1}",cr,vpr));
|
||||||
|
|
||||||
GL.Viewport( vpr );
|
GL.Viewport( vpr );
|
||||||
GL.Scissor( vpr.X, vpr.Y, vpr.Width, vpr.Height );
|
GL.Scissor( vpr.X, vpr.Y, vpr.Width, vpr.Height );
|
||||||
|
|
Loading…
Reference in New Issue