Initial commit
This commit is contained in:
37
Include/ZRendererUtil/ZTransformHierarchy.hpp
Normal file
37
Include/ZRendererUtil/ZTransformHierarchy.hpp
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
ZTransformHierarchy.h
|
||||
Author: Chris Ertel <crertel@762studios.com>
|
||||
|
||||
Purpose: Helper classes to setup a simple transform hierarchy.
|
||||
|
||||
Changelog
|
||||
2011/09/20 - creation (crertel)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef _ZTRANSFORMHIERARCHY_H
|
||||
#define _ZTRANSFORMHIERARCHY_H
|
||||
|
||||
#include <ZUtil/ZSmartPointer.hpp>
|
||||
#include <ZSTL/ZArray.hpp>
|
||||
#include <ZUtil/ZMath.h>
|
||||
|
||||
class ZTransformHierarchy
|
||||
{
|
||||
protected:
|
||||
ZMatrix44f Transform;
|
||||
ZString Name;
|
||||
|
||||
ZArray Children;
|
||||
|
||||
public:
|
||||
ZTransformHierarchy();
|
||||
~ZTransformHierarchy();
|
||||
|
||||
|
||||
void Render(ZPtr<ZRenderer> _renderer, ZFrameContext _context, int _drawgroup, ZMatrix44f _transform, ZRenderState _renderState);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user