Initialize array of vectors on VS2015
This commit is contained in:
@@ -851,7 +851,12 @@ compute_screen_space_error(VHierarchyNodeHandle node_handle, VHierarchyNodeHandl
|
||||
Vec3f residual;
|
||||
Vec3f res;
|
||||
Vec3f lp;
|
||||
#if (_MSC_VER >= 1900 )
|
||||
// Workaround for internal compiler error
|
||||
Vec3f tri[3]{ {},{},{} };
|
||||
#else
|
||||
Vec3f tri[3];
|
||||
#endif
|
||||
float s, t;
|
||||
VHierarchyNodeHandleContainer::iterator n_it, n_end(leaf_nodes.end());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user