Page 1 of 1

IgeEntity.dimensionsFromCell() with scalar

Posted: Wed Sep 04, 2013 12:56 pm
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?

Re: IgeEntity.dimensionsFromCell() with scalar

Posted: Wed Sep 04, 2013 1:07 pm
by robaldred
Oops I appear to have directly pushed it to your dev branch, eek, sorry.

Re: IgeEntity.dimensionsFromCell() with scalar

Posted: Wed Sep 04, 2013 5:54 pm
by coolbloke1324
No worries, easy mistake to fix if required but I've checked over the code and it is fine :) thanks!

Re: IgeEntity.dimensionsFromCell() with scalar

Posted: Wed Sep 11, 2013 4:13 am
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

Re: IgeEntity.dimensionsFromCell() with scalar

Posted: Wed Sep 11, 2013 5:43 pm
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.