mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-31 01:00:56 -04:00
d_a_bridge OK, cXyz inline cleanup
This commit is contained in:
@@ -10,11 +10,22 @@
|
||||
class J3DLightInfo {
|
||||
public:
|
||||
void operator=(J3DLightInfo const& other) {
|
||||
mLightPosition = other.mLightPosition;
|
||||
mLightDirection = other.mLightDirection;
|
||||
mColor = other.mColor;
|
||||
mCosAtten = other.mCosAtten;
|
||||
mDistAtten = other.mDistAtten;
|
||||
mLightPosition.x = other.mLightPosition.x;
|
||||
mLightPosition.y = other.mLightPosition.y;
|
||||
mLightPosition.z = other.mLightPosition.z;
|
||||
mLightDirection.x = other.mLightDirection.x;
|
||||
mLightDirection.y = other.mLightDirection.y;
|
||||
mLightDirection.z = other.mLightDirection.z;
|
||||
mColor.r = other.mColor.r;
|
||||
mColor.g = other.mColor.g;
|
||||
mColor.b = other.mColor.b;
|
||||
mColor.a = other.mColor.a;
|
||||
mCosAtten.x = other.mCosAtten.x;
|
||||
mCosAtten.y = other.mCosAtten.y;
|
||||
mCosAtten.z = other.mCosAtten.z;
|
||||
mDistAtten.x = other.mDistAtten.x;
|
||||
mDistAtten.y = other.mDistAtten.y;
|
||||
mDistAtten.z = other.mDistAtten.z;
|
||||
}
|
||||
|
||||
/* 0x00 */ Vec mLightPosition;
|
||||
|
||||
@@ -99,7 +99,6 @@ public:
|
||||
// Type 1: Xlu Buffer
|
||||
void setDrawBuffer(J3DDrawBuffer* buffer, int type) {
|
||||
J3D_ASSERT(114, type >= 0 && type < 2, "Error : range over.");
|
||||
J3D_ASSERT(115, buffer, "Error : null pointer.");
|
||||
mDrawBuffer[type] = buffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user