Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
TriangleGrouperClosestCentroid.h
Go to the documentation of this file.
1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
8
10
15{
16public:
17 // See: TriangleGrouper::Group
18 virtual void Group(const VertexList &inVertices, const IndexedTriangleList &inTriangles, int inGroupSize, Array<uint> &outGroupedTriangleIndices) override;
19};
20
#define JPH_EXPORT
Definition: Core.h:236
#define JPH_NAMESPACE_END
Definition: Core.h:378
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:372
Definition: TriangleGrouperClosestCentroid.h:15
A class that groups triangles in batches of N (according to closeness)
Definition: TriangleGrouper.h:14
virtual void Group(const VertexList &inVertices, const IndexedTriangleList &inTriangles, int inGroupSize, Array< uint > &outGroupedTriangleIndices)=0