mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 08:27:01 +00:00
Renderer changes; render buckets now use new abstract class IRenderable instead of CSceneNode to allow rendering non-nodes, plus renderer modified to easily allow multiple rendering passes overlaid on each other
This commit is contained in:
@@ -71,9 +71,9 @@ void CDynamicVertexBuffer::ClearBuffers()
|
||||
{
|
||||
for (u32 iAttrib = 0; iAttrib < 12; iAttrib++)
|
||||
{
|
||||
u8 Bit = 1 << iAttrib;
|
||||
int bit = 1 << iAttrib;
|
||||
|
||||
if (mBufferedFlags & Bit)
|
||||
if (mBufferedFlags & bit)
|
||||
glDeleteBuffers(1, &mAttribBuffers[iAttrib]);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#ifndef SMESHPOINTER_H
|
||||
#define SMESHPOINTER_H
|
||||
|
||||
#include <Common/CAABox.h>
|
||||
#include <Common/types.h>
|
||||
#include <Core/ERenderCommand.h>
|
||||
#include <Scene/CSceneNode.h>
|
||||
#include <Resource/CMaterial.h>
|
||||
|
||||
struct SMeshPointer
|
||||
{
|
||||
CSceneNode *pNode;
|
||||
u32 Asset;
|
||||
CAABox AABox;
|
||||
ERenderCommand Command;
|
||||
};
|
||||
|
||||
#endif // SMESHPOINTER_H
|
||||
Reference in New Issue
Block a user