Commit cde506a1 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Add vector to point constructor

parent b5a1a031
......@@ -39,6 +39,13 @@ public:
data[0] = data[1] = data[2] = FReal(0);
}
/** Constructor from an array */
explicit FPoint(const FReal inPosition[3]){
data[0] = inPosition[0];
data[1] = inPosition[1];
data[2] = inPosition[2];
}
/** Constructor from values */
explicit FPoint(const FReal inX,const FReal inY,const FReal inZ){
data[0] = inX;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment