The mesh.geometry object holds a scale variable. Allowing fast non
destructible scaling options.
If you want to apply a scale at vertex level, just parse the vertices
array and multiply the components.
Fabrice
On Aug 11, 2009, at 5:05 AM, cellis wrote:
i thought calling .scale() was setting it to that value, not
transforming it by a percentage??
On Aug 10, 9:41 pm, "David Parks" <[email protected]> wrote:
I believe the scale is always relative to the current size. So you
reduced
it by 20% in the first round, then you reduced it by 25% in the
second
round.
Dave
-----Original Message-----
From: [email protected] [mailto:away3d-
[email protected]] On
Behalf Of cellis
Sent: Tuesday, August 11, 2009 4:12 AM
To: away3d.dev
Subject: [away3d] scaling up and down properly
Hello
i am trying to scale a mesh like this
scale = .2;
mesh.scale(scale);
this works, but when i do this
scale += .05
mesh.scale(scale);
it is smaller. Why?