goat3d
diff src/material.h @ 47:498ca7ac7047
- placed all the implementation stuff in the g3dimpl namespace
- added animation stuff to the public API
- started writing animation saving/loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:47:39 +0200 |
parents | f1b4c27382ce |
children | dad392c710df |
line diff
1.1 --- a/src/material.h Sun Dec 08 03:00:25 2013 +0200 1.2 +++ b/src/material.h Sat Dec 28 06:47:39 2013 +0200 1.3 @@ -5,6 +5,8 @@ 1.4 #include <map> 1.5 #include <vmath/vmath.h> 1.6 1.7 +namespace g3dimpl { 1.8 + 1.9 struct MaterialAttrib { 1.10 Vector4 value; 1.11 std::string map; 1.12 @@ -31,4 +33,6 @@ 1.13 const MaterialAttrib &operator [](const std::string &name) const; 1.14 }; 1.15 1.16 +} // namespace g3dimpl 1.17 + 1.18 #endif // MATERIAL_H_