Constants

Post Reply
User avatar
Otuama
Posts: 162
Joined: Sun Jun 27, 2010 2:29 pm

Constants

Post by Otuama » Fri Jul 05, 2013 9:36 pm

There seem to be some constants that are repeated in the docs. Is there a difference between them or should I use one instead of the other?

TYPE_GRID_DOMAIN & TYPE_HY_GRID_DOMAIN
TYPE_MIST & TYPE_HY_GRID_DOMAIN
TYPE_EMITTER & TYPE_PB_EMITTER
TYPE_GB_EMITTER & TYPE_HY_EMITTER


Actually, they seem to have the same effect but will some be removed in the future, for example: TYPE_EMITTER
Otuama - Vimeo
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi

User avatar
Alex
Site Admin
Posts: 143
Joined: Mon Jun 14, 2010 9:35 am

Re: Constants

Post by Alex » Fri Jul 05, 2013 9:57 pm

Hi Sean,

Yes, those constants are still there for backward compatibility reasons.
It is better to use the ones with the _HY_ token for new scripts.
Alex Ribao
RealFlow Team
Next Limit Technologies

User avatar
Otuama
Posts: 162
Joined: Sun Jun 27, 2010 2:29 pm

Re: Constants

Post by Otuama » Fri Jul 05, 2013 10:01 pm

Funky. Ta.
Otuama - Vimeo
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi

Post Reply