DayZ
1.29
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
CreateTriMesh()
[2/2]
static proto
PhysicsGeom
PhysicsGeom::CreateTriMesh
(
vector
vertices
[],
int
indices
[],
int
numVertices
,
int
numIndices
)
static
private
Creates tri-mesh geometry
const
int
numVerts = 4;
const
int
numInds = 12;
vector
verts[numVerts] = {
"0 0 0"
,
"1 0 0"
,
"0 0 1"
,
"0 1 0"
};
int
inds[numInds] = { 0, 1, 2, 0, 3, 1, 3, 2, 1, 0, 2, 3 };
PhysicsGeom
geom =
PhysicsGeom
.CreateTriMesh(verts, inds, numVerts, numInds);
vector
Определения
EnConvert.c:119
PhysicsGeom
int[] PhysicsGeom
Определения
PhysicsGeom.c:10
Аргументы
vertices
Set of vertices representing the geometry
indices
Set of indices representing the geometry
numVertices
Number of vertices
numIndices
Number of indices
PhysicsGeom
Создано системой
1.13.2