Values no longer clamp, Fixed gl bug with cameras
This commit is contained in:
parent
7b3af30c6b
commit
9568251ef6
|
@ -53,6 +53,7 @@ public class Camera {
|
|||
GlStateManager.disableLighting();
|
||||
GlStateManager.disableAlpha();
|
||||
GlStateManager.disableBlend();
|
||||
GlStateManager.enableColorMaterial();
|
||||
|
||||
GlStateManager.color(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
frameBuffer.bindFramebufferTexture();
|
||||
|
|
|
@ -52,7 +52,8 @@ public class Value<T> {
|
|||
final Number val = (Number) value;
|
||||
final Number min = (Number) this.min;
|
||||
final Number max = (Number) this.max;
|
||||
this.value = (T) this.clamp(val, min, max);
|
||||
this.value = (T) val;
|
||||
//this.value = (T) this.clamp(val, min, max);
|
||||
} else {
|
||||
this.value = value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue