implement star background
This commit is contained in:
@ -37,14 +37,16 @@ void RenderQueue::render(RenderDevice *device) const
|
||||
|
||||
for (i = _OpaqueItems.begin(); i != _OpaqueItems.end(); i++)
|
||||
{
|
||||
device->setTransformation((*i).position, (*i).orientation);
|
||||
device->pushTransformation((*i).position, (*i).orientation);
|
||||
(*i).item->render(device);
|
||||
device->popTransformation();
|
||||
}
|
||||
|
||||
for (i = _TransparentItems.begin(); i != _TransparentItems.end(); i++)
|
||||
{
|
||||
device->setTransformation((*i).position, (*i).orientation);
|
||||
device->pushTransformation((*i).position, (*i).orientation);
|
||||
(*i).item->render(device);
|
||||
device->popTransformation();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user