pass bNeedsNormals into RageCompiledGeometry

This commit is contained in:
Chris Danford
2005-01-14 10:23:22 +00:00
parent c558727bf7
commit 5c79ac4196
8 changed files with 43 additions and 18 deletions
+4
View File
@@ -57,6 +57,8 @@ public:
float m_fTexVelocityY;
BlendMode m_BlendMode;
bool NeedsNormals() const { return m_bSphereMapped; }
private:
int m_iCurState;
@@ -83,6 +85,8 @@ struct msMaterial
AnimatedTexture diffuse;
AnimatedTexture alpha;
bool NeedsNormals() const { return diffuse.NeedsNormals() || alpha.NeedsNormals() ; }
};
struct msPositionKey