X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGraphic%2FDecal.hpp;h=1390bccd49118ad8c40863a5daae52b73692331c;hb=eae73ddd7a006ee6de9ffb01f3ec5f8e5fdc6d85;hp=ae3862fbf603612c30f3161b8483a60521d57da0;hpb=4690d99d2bec493f809c7065b222eaf18f46df60;p=lugaru.git diff --git a/Source/Graphic/Decal.hpp b/Source/Graphic/Decal.hpp index ae3862f..1390bcc 100644 --- a/Source/Graphic/Decal.hpp +++ b/Source/Graphic/Decal.hpp @@ -22,8 +22,9 @@ along with Lugaru. If not, see . #define _DECAL_HPP_ class Terrain; +class Model; -#include "Math/Quaternions.hpp" +#include "Math/XYZ.hpp" enum decal_type { shadowdecal = 0, @@ -51,6 +52,7 @@ public: Decal(); Decal(XYZ position, decal_type type, float opacity, float rotation, float brightness, int whichx, int whichy, float size, const Terrain& terrain, bool first); + Decal(XYZ position, decal_type type, float opacity, float rotation, float size, const Model& model, int i, int which); }; #endif