IgeEntity.dimensionsFromCell() with scalar

All things HTML5 or text based engines, or really any web based engines.
Post Reply
robaldred
Posts: 64
Joined: Tue Aug 27, 2013 5:54 pm

IgeEntity.dimensionsFromCell() with scalar

Post by robaldred »

dimensionsFromTexture() takes a scalar to scale the texture, which is really useful
dimensionsFromCell() doesn't.

I have patched my fork on github would you like a pull request?
robaldred
Posts: 64
Joined: Tue Aug 27, 2013 5:54 pm

Re: IgeEntity.dimensionsFromCell() with scalar

Post by robaldred »

Oops I appear to have directly pushed it to your dev branch, eek, sorry.
User avatar
coolbloke1324
Posts: 181
Joined: Mon Jan 23, 2012 5:20 pm

Re: IgeEntity.dimensionsFromCell() with scalar

Post by coolbloke1324 »

No worries, easy mistake to fix if required but I've checked over the code and it is fine :) thanks!
CEO & Lead Developer
Irrelon Software Limited
http://www.isogenicengine.com
zaquanishak
Posts: 53
Joined: Mon Aug 26, 2013 1:54 am

Re: IgeEntity.dimensionsFromCell() with scalar

Post by zaquanishak »

Hi,

May i know what is the different? for what i see it is the same. Only i thought that dimensionsFromCell() is only for cellsheet and dimensionsFromTexture is only for texture. Can i use both way?

Regards,
Zachz
zachz
Programmer
compass-interactive
User avatar
coolbloke1324
Posts: 181
Joined: Mon Jan 23, 2012 5:20 pm

Re: IgeEntity.dimensionsFromCell() with scalar

Post by coolbloke1324 »

zaquanishak wrote:Hi,

May i know what is the different? for what i see it is the same. Only i thought that dimensionsFromCell() is only for cellsheet and dimensionsFromTexture is only for texture. Can i use both way?

Regards,
Zachz
It is the second parameter in the method he is talking about. It was in dimensionsFromTexture but not dimensionsFromCell.
CEO & Lead Developer
Irrelon Software Limited
http://www.isogenicengine.com
Post Reply

Return to “HTML5/Web Engines”