mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
Conflicts: Engine/source/platform/platformCPUCount.cpp
This commit is contained in:
commit
87d9e245b7
210 changed files with 896 additions and 896 deletions
|
|
@ -606,7 +606,7 @@ GFXVertexBufferHandle<AdvancedLightManager::LightVertex> AdvancedLightManager::g
|
|||
mConeIndices.lock( &idx );
|
||||
// Build the cone
|
||||
U32 idxIdx = 0;
|
||||
for( int i = 1; i < numPoints + 1; i++ )
|
||||
for( U32 i = 1; i < numPoints + 1; i++ )
|
||||
{
|
||||
idx[idxIdx++] = 0; // Triangles on cone start at top point
|
||||
idx[idxIdx++] = i;
|
||||
|
|
@ -614,7 +614,7 @@ GFXVertexBufferHandle<AdvancedLightManager::LightVertex> AdvancedLightManager::g
|
|||
}
|
||||
|
||||
// Build the bottom of the cone (reverse winding order)
|
||||
for( int i = 1; i < numPoints - 1; i++ )
|
||||
for( U32 i = 1; i < numPoints - 1; i++ )
|
||||
{
|
||||
idx[idxIdx++] = 1;
|
||||
idx[idxIdx++] = i + 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue