diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-04-14 07:58:16 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-04-14 07:58:16 +0300 |
| commit | aa42aedecd2d2842351088085e8fd9d69ec79565 (patch) | |
| tree | 94c888b3d362868f427980dd37765f9bb166dba9 /ihl/enviroment/SpotlightRender.java | |
| parent | fb29b09822057ae7b1b913993dc1fa3a67345eec (diff) | |
Colourful lights
Diffstat (limited to 'ihl/enviroment/SpotlightRender.java')
| -rw-r--r-- | ihl/enviroment/SpotlightRender.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ihl/enviroment/SpotlightRender.java b/ihl/enviroment/SpotlightRender.java index e38e251..8f48e1a 100644 --- a/ihl/enviroment/SpotlightRender.java +++ b/ihl/enviroment/SpotlightRender.java @@ -70,6 +70,7 @@ private final float scale=1F/16F; GL11.glColor4f(1f, 1f, 1f, 1f);
model.Base.render(scale);
GL11.glTranslatef(model.RotatingPart1.rotationPointX*scale, model.RotatingPart1.rotationPointY*scale, model.RotatingPart1.rotationPointZ*scale);
+ GL11.glColor4f((cte.colour>>>16)/255f,((cte.colour>>>8)&255)/255f, (cte.colour&255)/255f,1f);
switch(cte.getFacing())
{
case 0:
|
