mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix several errors and warnings from GCC compilation
This commit is contained in:
@ -276,7 +276,7 @@ float plShader::GetFloat(int i, int chan) const
|
||||
return fConsts[i].fArray[chan];
|
||||
}
|
||||
|
||||
const float* const plShader::GetFloat4(int i) const
|
||||
const float* plShader::GetFloat4(int i) const
|
||||
{
|
||||
return fConsts[i].fArray;
|
||||
}
|
||||
|
@ -226,8 +226,8 @@ public:
|
||||
hsPoint3 GetPosition(int i) const;
|
||||
hsVector3 GetVector(int i) const;
|
||||
void GetVector(int i, float& x, float& y, float& z, float& w) const;
|
||||
float GetFloat(int i, int chan) const;
|
||||
const float* const GetFloat4(int i) const;
|
||||
float GetFloat(int i, int chan) const;
|
||||
const float* GetFloat4(int i) const;
|
||||
|
||||
void SetMatrix(int i, const plFloat44& xfm); // Will transpose
|
||||
void SetMatrix3(int i, const plFloat44& xfm); // Will transpose
|
||||
|
@ -113,7 +113,7 @@ public:
|
||||
plShaderID::ID GetID() const { return fID; }
|
||||
uint32_t GetByteLen() const { return fbyteLen; }
|
||||
const uint8_t* GetCodes() const { return fCodes; }
|
||||
const char* const GetFileName() const { return fFileName; }
|
||||
const char* GetFileName() const { return fFileName; }
|
||||
};
|
||||
|
||||
class plShaderTableInst
|
||||
|
Reference in New Issue
Block a user