]> git.tdb.fi Git - libs/gl.git/blobdiff - source/placeable.cpp
Add a new Placeable base class
[libs/gl.git] / source / placeable.cpp
diff --git a/source/placeable.cpp b/source/placeable.cpp
new file mode 100644 (file)
index 0000000..c7ea792
--- /dev/null
@@ -0,0 +1,12 @@
+#include "placeable.h"
+
+namespace Msp {
+namespace GL {
+
+void Placeable::set_matrix(const Matrix &m)
+{
+       matrix = m;
+}
+
+} // namespace GL
+} // namespace Msp