Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
This commit is contained in:
@@ -29,11 +29,6 @@ public class Light extends BaseObj {
|
||||
mID = id;
|
||||
}
|
||||
|
||||
public void destroy() {
|
||||
mRS.nLightDestroy(mID);
|
||||
mID = 0;
|
||||
}
|
||||
|
||||
public void setColor(float r, float g, float b) {
|
||||
mRS.nLightSetColor(mID, r, g, b);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user