mirror of
https://github.com/leozide/leocad
synced 2025-01-18 22:26:44 +01:00
Removed unused variable.
This commit is contained in:
parent
eed93e183d
commit
8cfddcefa3
2 changed files with 0 additions and 5 deletions
|
@ -23,7 +23,6 @@ void lcScene::Begin(const lcMatrix44& ViewMatrix)
|
|||
mOpaqueMeshes.RemoveAll();
|
||||
mTranslucentMeshes.RemoveAll();
|
||||
mInterfaceObjects.RemoveAll();
|
||||
mHasTexture = false;
|
||||
}
|
||||
|
||||
void lcScene::End()
|
||||
|
@ -71,9 +70,6 @@ void lcScene::AddMesh(lcMesh* Mesh, const lcMatrix44& WorldMatrix, int ColorInde
|
|||
|
||||
if ((Flags & lcMeshFlag::HasTranslucent) || ((Flags & lcMeshFlag::HasDefault) && Translucent))
|
||||
mTranslucentMeshes.Add(mRenderMeshes.GetSize() - 1);
|
||||
|
||||
if (Flags & lcMeshFlag::HasTexture)
|
||||
mHasTexture = true;
|
||||
}
|
||||
|
||||
void lcScene::DrawPass(lcContext* Context, lcRenderPass RenderPass, int PrimitiveTypes) const
|
||||
|
|
|
@ -72,5 +72,4 @@ protected:
|
|||
lcArray<int> mOpaqueMeshes;
|
||||
lcArray<int> mTranslucentMeshes;
|
||||
lcArray<const lcObject*> mInterfaceObjects;
|
||||
bool mHasTexture;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue