Fixed class attribute initialization order.
parent
c1b28ff1ce
commit
846a8959f8
|
@ -139,19 +139,20 @@ class AssetHelper
|
|||
:
|
||||
piVB (NULL),
|
||||
piIB (NULL),
|
||||
piEffect (NULL),
|
||||
piVBNormals (NULL),
|
||||
piEffect (NULL),
|
||||
bSharedFX (false),
|
||||
piDiffuseTexture (NULL),
|
||||
piSpecularTexture (NULL),
|
||||
piAmbientTexture (NULL),
|
||||
piNormalTexture (NULL),
|
||||
piEmissiveTexture (NULL),
|
||||
piNormalTexture (NULL),
|
||||
piOpacityTexture (NULL),
|
||||
piShininessTexture (NULL),
|
||||
piLightmapTexture (NULL),
|
||||
pvOriginalNormals (NULL),
|
||||
bSharedFX(false),
|
||||
twosided (false){}
|
||||
twosided (false),
|
||||
pvOriginalNormals (NULL)
|
||||
{}
|
||||
|
||||
~MeshHelper ()
|
||||
{
|
||||
|
|
|
@ -47,10 +47,10 @@ class CBackgroundPainter
|
|||
{
|
||||
CBackgroundPainter()
|
||||
:
|
||||
pcTexture(NULL),
|
||||
clrColor(D3DCOLOR_ARGB(0xFF,100,100,100)),
|
||||
eMode(SIMPLE_COLOR),
|
||||
piSkyBoxEffect(NULL)
|
||||
pcTexture(NULL),
|
||||
piSkyBoxEffect(NULL),
|
||||
eMode(SIMPLE_COLOR)
|
||||
{}
|
||||
|
||||
public:
|
||||
|
|
|
@ -55,8 +55,8 @@ class Camera
|
|||
:
|
||||
|
||||
vPos(0.0f,0.0f,-10.0f),
|
||||
vLookAt(0.0f,0.0f,1.0f),
|
||||
vUp(0.0f,1.0f,0.0f),
|
||||
vLookAt(0.0f,0.0f,1.0f),
|
||||
vRight(0.0f,1.0f,0.0f)
|
||||
{
|
||||
|
||||
|
|
|
@ -60,16 +60,16 @@ class RenderOptions
|
|||
bSuperSample (false),
|
||||
bRenderMats (true),
|
||||
bRenderNormals (false),
|
||||
eDrawMode (NORMAL),
|
||||
b3Lights (false),
|
||||
bLightRotate (false),
|
||||
bRotate (true),
|
||||
bLowQuality (false),
|
||||
bNoSpecular (false),
|
||||
bStereoView (false),
|
||||
bNoAlphaBlending(false),
|
||||
eDrawMode (NORMAL),
|
||||
bCulling (false),
|
||||
bSkeleton (false),
|
||||
bNoAlphaBlending(false)
|
||||
bSkeleton (false)
|
||||
|
||||
{}
|
||||
|
||||
|
|
Loading…
Reference in New Issue