Correct scaling of flashers in visual effects (issue #27 part 2)
This commit is contained in:
parent
8ec8c46e3a
commit
8c8a83ecae
@ -485,7 +485,7 @@ MA 02110-1301, USA.
|
||||
{
|
||||
// rescale subentities
|
||||
Entity<OOSubEntity> *se = nil;
|
||||
GLfloat flasher_factor = pow(factor/scaleX,1.0/3.0);
|
||||
GLfloat flasher_factor = pow(factor/scaleY,1.0/3.0);
|
||||
foreach (se, [self subEntities])
|
||||
{
|
||||
Vector move = [se position];
|
||||
@ -516,7 +516,7 @@ MA 02110-1301, USA.
|
||||
{
|
||||
// rescale subentities
|
||||
Entity<OOSubEntity> *se = nil;
|
||||
GLfloat flasher_factor = pow(factor/scaleX,1.0/3.0);
|
||||
GLfloat flasher_factor = pow(factor/scaleZ,1.0/3.0);
|
||||
foreach (se, [self subEntities])
|
||||
{
|
||||
Vector move = [se position];
|
||||
|
Loading…
x
Reference in New Issue
Block a user