Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/fragment.h')
-rw-r--r--src/model/fragment.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/model/fragment.h b/src/model/fragment.h
index 9da30b0..31b7b96 100644
--- a/src/model/fragment.h
+++ b/src/model/fragment.h
@@ -113,6 +113,10 @@ public:
inline const bool transform() const {
return group_transform;
}
+
+ inline const bool engine() const {
+ return group_engine;
+ }
inline const size_t size() const {
return group_fragments.size();
@@ -128,6 +132,10 @@ public:
group_type = type;
}
+ inline void set_engine(const bool engine) {
+ group_engine = engine;
+ }
+
inline void set_location(const math::Vector3f &location) {
group_location.assign(location);
}
@@ -164,6 +172,7 @@ private:
float group_scale;
bool group_transform;
+ bool group_engine;
};
}