- Display Lists are back. Enable by #defining USE_DISPLAY_LISTS
(currently enabled).
Advantage: makes rendering faster
Inconvenient: uses more memory
TODO: measure how much more memory it uses.
Vertex arrays are now automatically converted into (nested) display
lists when this option is set. This prevents vertex array data from
being redundantly copied into the display list.
- Now use OB's GetRGB function to get the color of atoms
- Implement our own molecule centering code. Neither OBMol::Center() nor
OBMol::Translate() did work for me (but maybe I'm stupid).
- reorganization in the VertexArray class ( more to come )
M src/kalziumglwidget.h
M src/kalziumglhelperclasses.h
M src/kalziumglwidget.cpp
M src/kalziumglhelperclasses.cpp