Verified Commit 1c2583db authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core/BV: fix return of getOrientation

parent 970af63e
......@@ -111,7 +111,11 @@ struct BVNode : public BVNodeBase
Vec3f getCenter() const { return bv.center(); }
/// @brief Access the orientation of the BV
const Matrix3f& getOrientation() const { return Matrix3f::Identity(); }
const Matrix3f& getOrientation() const
{
static const Matrix3f id3 = Matrix3f::Identity();
return id3;
}
};
template<>
......
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