12 #ifndef CUSTOMTYPES_H_
13 #define CUSTOMTYPES_H_
15 #include <Qt/qvariant.h>
22 Vec3f() : X(0.0f), Y(0.0f), Z(0.0f) {}
23 Vec3f(
float x,
float y,
float z) : X(x), Y(y), Z(z) {}
26 bool operator == (
const Vec3f& other)
const {
return X == other.X && Y == other.Y && Z == other.Z;}
27 bool operator != (
const Vec3f& other)
const {
return X != other.X || Y != other.Y || Z != other.Z;}
30 Q_DECLARE_METATYPE(
Vec3f)
36 Property* createCustomProperty(
const QString& name, QObject* propertyObject,
Property* parent);
Definition: CustomTypes.h:20
Definition: CustomTypes.cpp:19
Definition: Property.h:40