www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Irony on August 15, 2014, 01:41:58 pm
-
It would be really convenient to have a non-uniform scale function for Object3D, something like scale(x,y,z). (I know there are ways to achieve that, but not as comfortable.)
Do you have any plans to implement that someday?
-
No, that's not likely to happen. Albeit it sounds like a trivial thing, it would require a lot of internal changes and i don't think that it would be worth it. You can consider this a design flaw, but it would be really hard to fix this in the current stage.
-
Ok, thanks for giving a definite answer on that one.
-
If you want to apply non-uniform scaling at setup time, you can always tweak the rotation matrix and make the rotations permanent to the mesh (rotateMesh()).
-
Thanks, I've already found a snippet somewhere on the forums and use that.