d_a_bridge OK, cXyz inline cleanup

This commit is contained in:
LagoLunatic
2026-08-24 14:34:25 -04:00
parent afa5b9ca56
commit 0195ac864a
19 changed files with 126 additions and 130 deletions
+16 -5
View File
@@ -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;
-1
View File
@@ -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;
}