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?
IgeEntity.dimensionsFromCell() with scalar
Re: IgeEntity.dimensionsFromCell() with scalar
Oops I appear to have directly pushed it to your dev branch, eek, sorry.
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: IgeEntity.dimensionsFromCell() with scalar
No worries, easy mistake to fix if required but I've checked over the code and it is fine thanks!
-
- Posts: 53
- Joined: Mon Aug 26, 2013 1:54 am
Re: IgeEntity.dimensionsFromCell() with scalar
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
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
Programmer
compass-interactive
- coolbloke1324
- Posts: 181
- Joined: Mon Jan 23, 2012 5:20 pm
Re: IgeEntity.dimensionsFromCell() with scalar
It is the second parameter in the method he is talking about. It was in dimensionsFromTexture but not dimensionsFromCell.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