Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#46 CalLoader wrapper does not need CalLoader instance

open
nobody
cal3d (30)
5
2004-05-03
2004-05-03
James W. Walker
No

In cal3d_wrapper.h, we see declarations like struct CalCoreMaterial
*CalLoader_LoadCoreMaterial(struct CalLoader *self, const char
*strFilename);

But if you look in loader.h, you see that all the CalLoader methods
are static, therefore there is no need to pass a CalLoader instance.
Also, there is no need for CalLoader_Delete and CalLoader_New.

Discussion