linux-wallpaperengine/src/WallpaperEngine/object3d.cpp
Alexis Maiquez 1c50095ead ~ Changed FileSystem/utils.h to FileSystem/FileSystem.h following the same criteria used in Core namespace
~ Updated #include directives to include full paths to files
~ Re-organized folder structure for the project

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-09-04 09:18:33 +02:00

30 lines
531 B
C++

#include <WallpaperEngine/object3d.h>
#include <WallpaperEngine/image.h>
namespace WallpaperEngine
{
object3d::object3d (object3d::Type type, WallpaperEngine::object* parent)
{
this->m_type = type;
}
template <class T> T* object3d::as()
{
return (T*) this;
}
template <class T> bool object3d::is()
{
return false;
}
template <> bool object3d::is<image>()
{
return this->m_type == Type::Type_Material;
}
void object3d::render ()
{
}
}