GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Material.hpp
Go to the documentation of this file.
1 #ifndef RADIX_MATERIAL_HPP
2 #define RADIX_MATERIAL_HPP
3 
4 #include <string>
5 #include <vector>
6 
8 
9 namespace radix {
10 
11 class Material {
12 public:
13  static const Material Empty;
14 
15  std::string name, fancyname;
17  float shininess = 0;
18  float scaleU = 1, scaleV = 1;
19 
20  bool portalable;
21  std::string kind;
22  std::vector<std::string> tags;
23 
24  int tileScale;
25 };
26 
27 } /* namespace radix */
28 
29 #endif /* RADIX_MATERIAL_HPP */
Definition: GameController.hpp:7
std::vector< std::string > tags
Definition: Material.hpp:22
Texture diffuse
Definition: Material.hpp:16
float shininess
Definition: Material.hpp:17
static const Material Empty
Definition: Material.hpp:13
std::string kind
Definition: Material.hpp:21
Definition: Texture.hpp:6
Texture specular
Definition: Material.hpp:16
std::string fancyname
Definition: Material.hpp:15
float scaleV
Definition: Material.hpp:18
bool portalable
Definition: Material.hpp:20
Texture height
Definition: Material.hpp:16
int tileScale
Definition: Material.hpp:24
std::string name
Definition: Material.hpp:15
Texture normal
Definition: Material.hpp:16
float scaleU
Definition: Material.hpp:18
Definition: Material.hpp:11