ratalaika / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

Thin red bars appear on the left and right of the screen with theWorld.SetSideBlockers #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put theWorld.SetSideBlockers(true, 0.0f) inside the GameManager of SuperDude 
example.

2. Run SuperDude

Do you have any example code that reproduces the problem? If so, put it
here.
theWorld.SetSideBlockers(true, 0.0f);

What is the expected behavior? What do you see instead?
A thin red bar will appear on the left and right of the screen as the camera is 
tracking SuperDude.

What version of Angel are you using? On what operating system? Is it
a downloaded distribution or from Mercurial?
Angel 3.2
Linux - Fedora 17 x86_64
From Mercurial

Please provide any additional information below.
In World::SetSideBlockers, setting the alpha to 0.0f seems to fix the issue:

Changing
_blockers[0]->SetColor(1, .5, .5);

to:
_blockers[0]->SetColor(1, .5, .5, 0.0f);

Original issue reported on code.google.com by nofxboy1...@gmail.com on 13 Nov 2013 at 11:54