Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cde506a1 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files

Add vector to point constructor

parent b5a1a031
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment