mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
removed redundant copy
This commit is contained in:
2
.idea/omath.iml
generated
2
.idea/omath.iml
generated
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module classpath="CMake" type="CPP_MODULE" version="4" />
|
|
||||||
@@ -75,8 +75,9 @@ namespace omath::collision
|
|||||||
if (heap.empty())
|
if (heap.empty())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
const int fidx = heap.top().idx;
|
//FIXME: STORE REF VALUE, DO NOT USE
|
||||||
const Face face = faces[fidx];
|
// AFTER IF STATEMENT BLOCK
|
||||||
|
const Face& face = faces[heap.top().idx];
|
||||||
|
|
||||||
// Get the furthest point in face normal direction
|
// Get the furthest point in face normal direction
|
||||||
const VectorType p = support_point(a, b, face.n);
|
const VectorType p = support_point(a, b, face.n);
|
||||||
|
|||||||
Reference in New Issue
Block a user