mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
oops translate problem
This commit is contained in:
parent
f3c60614a8
commit
5450454c07
@ -123,8 +123,8 @@ rescale_source_geometry() {
|
||||
LVector3f scale = LVector3f::rfu(scale_x, 1.0, scale_y);
|
||||
|
||||
LMatrix4f mat =
|
||||
LMatrix4f::translate_mat(trans) *
|
||||
LMatrix4f::scale_mat(scale);
|
||||
LMatrix4f::scale_mat(scale) *
|
||||
LMatrix4f::translate_mat(trans);
|
||||
|
||||
root_arc->set_transition(new TransformTransition(mat));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user