NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Types.h
Go to the documentation of this file.
00001 
00010 #pragma once
00011 
00012 // Standard Includes
00013 
00014 // Library Includes
00015 #include <d3dx9tex.h>
00016 
00017 // Typedefs
00018 namespace GraphicsCore {
00019   typedef D3DXCOLOR Color;
00020   typedef D3DMATERIAL9 Material;
00021   typedef LPDIRECT3DTEXTURE9 Texture;
00022   typedef D3DXVECTOR3 Vector3;
00023 }
00024 
00025 // Constants
00026 namespace GraphicsCore {
00027   const Material BLANK_MATERIAL = {
00028     Color(1.0f, 1.0f, 1.0f, 1.0f), // Diffuse
00029     Color(1.0f, 1.0f, 1.0f, 1.0f), // Ambient
00030     Color(1.0f, 1.0f, 1.0f, 1.0f), // Specular
00031     Color(0.0f, 0.0f, 0.0f, 1.0f), // Emissive
00032     1.0f // Power (ie: the sharpness of the specular highlight)
00033   };
00034 }