Game Development Community

RC1 bug - SceneGraphData is struct not class

by Tom Spilman · in Torque Game Engine Advanced · 02/10/2007 (3:23 am) · 1 replies

There are two instances in the code where SceneGraphData is predeclared as a class... renderInstMgr.h and atlasClipMapBatcher.h. But looking in sceneData.h, SceneGraphData is clearly a struct. You would think that doesn't matter, but i've had several cases where this confuses the VC++ compiler and it thinks it has unresolved externals.

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
02/12/2007 (3:36 pm)
Don't think I've seen a problem with that, but it is incorrect. I checked in the fix.