mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Geometry.cpp: rename method
This commit is contained in:
parent
f5a86666a1
commit
e77cf54483
2 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ Box Mesh::evalPartBound(int partNum) const {
|
|||
return box;
|
||||
}
|
||||
|
||||
Box Mesh::evalPartBounds(int partStart, int partEnd) const {
|
||||
Box Mesh::evalPartsBound(int partStart, int partEnd) const {
|
||||
Box totalBound;
|
||||
auto part = _partBuffer.cbegin<Part>() + partStart;
|
||||
auto partItEnd = _partBuffer.cbegin<Part>() + partEnd;
|
||||
|
|
|
@ -109,8 +109,8 @@ public:
|
|||
// evaluate the bounding box of A part
|
||||
Box evalPartBound(int partNum) const;
|
||||
// evaluate the bounding boxes of the parts in the range [start, end]
|
||||
// the returned box is the bounding box of ALL the evaluated part bounds.
|
||||
Box evalPartBounds(int partStart, int partEnd) const;
|
||||
// the returned box is the bounding box of ALL the evaluated parts bound.
|
||||
Box evalPartsBound(int partStart, int partEnd) const;
|
||||
|
||||
static gpu::Primitive topologyToPrimitive(Topology topo) { return static_cast<gpu::Primitive>(topo); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue