forceinline IndexGenerator::WriteTriangle
This commit is contained in:
parent
d3f1bb93f2
commit
86935ab4fd
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
|
#include "Common.h"
|
||||||
#include "IndexGenerator.h"
|
#include "IndexGenerator.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -84,7 +85,7 @@ void IndexGenerator::AddIndices(int primitive, u32 numVerts)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Triangles
|
// Triangles
|
||||||
void IndexGenerator::WriteTriangle(u32 index1, u32 index2, u32 index3)
|
__forceinline void IndexGenerator::WriteTriangle(u32 index1, u32 index2, u32 index3)
|
||||||
{
|
{
|
||||||
*Tptr++ = index1;
|
*Tptr++ = index1;
|
||||||
*Tptr++ = index2;
|
*Tptr++ = index2;
|
||||||
|
|
Loading…
Reference in New Issue