Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
TriangleGrouperMorton.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
7
#include <
Jolt/TriangleGrouper/TriangleGrouper.h
>
8
9
JPH_NAMESPACE_BEGIN
10
13
class
JPH_EXPORT
TriangleGrouperMorton
:
public
TriangleGrouper
14
{
15
public
:
16
// See: TriangleGrouper::Group
17
virtual
void
Group
(
const
VertexList
&inVertices,
const
IndexedTriangleList
&inTriangles,
int
inGroupSize,
Array<uint>
&outGroupedTriangleIndices)
override
;
18
};
19
20
JPH_NAMESPACE_END
JPH_EXPORT
#define JPH_EXPORT
Definition
Core.h:236
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition
Core.h:379
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition
Core.h:373
TriangleGrouper.h
Array< Float3 >
TriangleGrouper
A class that groups triangles in batches of N (according to closeness)
Definition
TriangleGrouper.h:14
TriangleGrouper::Group
virtual void Group(const VertexList &inVertices, const IndexedTriangleList &inTriangles, int inGroupSize, Array< uint > &outGroupedTriangleIndices)=0
TriangleGrouperMorton
Definition
TriangleGrouperMorton.h:14
Jolt
TriangleGrouper
TriangleGrouperMorton.h
Generated by
1.9.8