Renamed PrimitiveType to PrimitiveMode

Also renamed RENDERER_INSTANCING_MAX to RENDERER_MAX_INSTANCES
Added RENDERER_SHADER_MAX_LIGHTCOUNT


Former-commit-id: bc26e087dd1b55c424836e6e2fa6e1dc0f17effa
This commit is contained in:
Lynix
2013-05-24 20:12:40 +02:00
parent 50e8ce3658
commit cf6e2be0b0
14 changed files with 80 additions and 78 deletions

View File

@@ -160,7 +160,7 @@ namespace
subMesh->GenerateAABB();
subMesh->SetMaterialIndex(meshes[i].material);
subMesh->SetPrimitiveType(nzPrimitiveType_TriangleList);
subMesh->SetPrimitiveMode(nzPrimitiveMode_TriangleList);
if (hasNormals && hasTexCoords)
subMesh->GenerateTangents();