Parent Directory | Revision Log
Create first version of OpenGL object manager and use it in eqPly Add new config for L-shaped projection table (TAN Holobench) Clean up drawableconfig Put eqPly classes into own eqPly namespace (needed for Window) Revert stencil buffer default to off [ ] May break build [ ] Breaks existing applications [ ] Bugfix [x] New Feature [x] Cleanup [ ] Optimization [ ] Documentation
/* Copyright (c) 2006-2007, Stefan Eilemann <[email protected]> All rights reserved. */ #ifndef EQ_PLY_FRAMEDATA_H #define EQ_PLY_FRAMEDATA_H #include "eqPly.h" #include <eq/eq.h> namespace eqPly { class FrameData : public eqNet::Object { public: FrameData() { reset(); setInstanceData( &data, sizeof( Data )); EQINFO << "New FrameData " << std::endl; } void reset() { data.translation = vmml::Vector3f::ZERO; data.translation.z = -1.f; data.rotation = vmml::Matrix4f::IDENTITY; data.rotation.rotateX( static_cast<float>( -M_PI_2 )); data.rotation.rotateY( static_cast<float>( -M_PI_2 )); } struct Data { vmml::Matrix4f rotation; vmml::Vector3f translation; bool color; } data; protected: virtual bool isStatic() const { return false; } }; } #endif // EQ_PLY_FRAMEDATA_H
Back to Equalizer website | ViewVC Help |
Powered by ViewVC 1.0.3 |