mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
*** empty log message ***
This commit is contained in:
parent
457c73ab21
commit
17fc2fec8a
@ -280,8 +280,8 @@ GuiLabel* GuiLabel::make_model_label(Node* geom, float left, float right,
|
||||
GuiLabel* ret = new GuiLabel();
|
||||
ret->_type = MODEL;
|
||||
ret->_geom = new NamedNode("GUI label");
|
||||
ret->_model_pos = LVector3f::rfu((left - right) * 0.5, 0.,
|
||||
(bottom - top) * 0.5);
|
||||
ret->_model_pos = LVector3f::rfu(-(left + right) * 0.5, 0.,
|
||||
-(bottom + top) * 0.5);
|
||||
ret->_model_width = right - left;
|
||||
ret->_model_height = top - bottom;
|
||||
ret->_internal = new RenderRelation(ret->_geom, geom);
|
||||
|
Loading…
x
Reference in New Issue
Block a user