Ndk/GraphicsComponent: Update
Former-commit-id: 4f4ca46fb58582abb0c61b7f081b77e9cd95ee0f
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
// Copyright (C) 2015 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Development Kit"
|
||||
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
inline void GraphicsComponent::AddToRenderQueue(NzAbstractRenderQueue* renderQueue, const NzMatrix4f& transformMatrix) const
|
||||
{
|
||||
for (const Renderable& object : m_renderables)
|
||||
object.renderable->AddToRenderQueue(renderQueue, transformMatrix);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user