~gimaker/peekabot/coord-sys-default

« back to all changes in this revision

Viewing changes to src/renderer/State.hh

  • Committer: Staffan Gimåker
  • Date: 2009-06-29 10:09:26 UTC
  • mfrom: (665.1.39 renderer-redux)
  • Revision ID: staffan@gimaker.se-20090629100926-ju5kx8jwzy422rwu
Merged the renderer-redux branch.

This represents a major overhaul to the rendering engine, with a less contrived
design and better performance. Both memory and CPU utilization should be 
better in general.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
 
2
 * Copyright Staffan Gimåker 2007-2008.
 
3
 *
 
4
 * ---
 
5
 *
2
6
 * This file is part of peekabot.
3
7
 *
4
8
 * peekabot is free software; you can redistribute it and/or modify
15
19
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
20
 */
17
21
 
18
 
#ifndef __PEEKABOT_RENDERER_STATE_HH
19
 
#define __PEEKABOT_RENDERER_STATE_HH
 
22
#ifndef PEEKABOT_RENDERER_STATE_HH_INCLUDED
 
23
#define PEEKABOT_RENDERER_STATE_HH_INCLUDED
20
24
 
21
25
 
22
26
#include <set>
112
116
        }
113
117
 
114
118
 
115
 
        void apply(const State *template_state = 0) throw();
 
119
        void apply(const State *template_state = 0) const throw();
116
120
 
117
121
 
118
122
        //boost::shared_ptr<Statelet> &operator[](StateletType type) throw();
193
197
}
194
198
}
195
199
 
196
 
#endif // __PEEKABOT_RENDERER_STATE_HH
 
200
#endif // PEEKABOT_RENDERER_STATE_HH_INCLUDED