On 1/15/06, res <[EMAIL PROTECTED]> wrote:
> On 15.01.2006 04:25, Michael D. Adams wrote:
> > What about GetMaterialWrapper() and SetMaterialWrapper()?
> >
> > The signatures of iParticleState::GetMaterialWrapper() and
> > iMeshObject::GetMaterialWrapper() are the same but I wonder if they
> > might have slight semantic differences.
>
> Source code for csParticleSystem::SetMaterialWrapper() (the iMeshObject
> implementation):
> {
> initialized = false;
> csParticleSystem::mat = mat;
> return true;
> }
> Source code for csParticleSystem::ParticleState::SetMaterialWrapper():
> {
> scfParent->initialized = false;
> scfParent->mat = material;
> }
>
> So much for semantic differences...
In that case, I will remove iParticleState::SetColor() and
iParticleState::GetColor(), and change
iParticleState::SetMaterialWrapper() and
iParticleState::GetMaterialWrapper() to match the signatures of
iMeshObject::SetMaterialWrapper() and
iMeshObject::GetMaterialWrapper(). I'll do it later tonight.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]