Posted on February 13th, 2010 by Andreas | 2 Comments »
I was about to write a post about how to avoid virtual method calls in C++.
While looking for the correct wording for one of the lines I stumbled across this:
Getting rid of virtual method calls
Since my explanation wasn’t much better,
I’ll just leave you with the link to Floh’s article
and a snippet of our rendering engine.
[renderer.hpp]
#if [...]
Read full article
|
Posted on September 28th, 2009 by Andreas | Comments Off
Just wanted to test if syntax highlighting of code works correctly in our blog,
but instead I posted actual code from our framework.
This is all that’s needed to get an OpenGL Viewport/Window/Screen on any supported platform.
int main( int argc, char* argv[] )
{
Platform::initialize( argc, argv );
Platform::run( &g_application, 320, 480 [...]
Read full article
|