37 lines
649 B
C++
37 lines
649 B
C++
/*
|
|
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 |