Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
Indexify.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
9
11
15
18
#define JPH_EXPORT
Definition Core.h:227
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
Array< Float3 > VertexList
Definition Float3.h:43
Array< IndexedTriangle > IndexedTriangleList
Definition IndexedTriangle.h:109
JPH_EXPORT void Deindexify(const VertexList &inVertices, const IndexedTriangleList &inTriangles, TriangleList &outTriangles)
Take a list of indexed triangles and unpack them.
Definition Indexify.cpp:207
JPH_NAMESPACE_BEGIN JPH_EXPORT void Indexify(const TriangleList &inTriangles, VertexList &outVertices, IndexedTriangleList &outTriangles, float inVertexWeldDistance=1.0e-4f)
Definition Indexify.cpp:139
AllocateFunction Allocate
Definition Memory.cpp:59
Array< Triangle > TriangleList
Definition Triangle.h:32