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