Continued working on the physics implementation. Need test a lot, but it's mostly implemented, at least, the basis.

This commit is contained in:
spartanj
2011-01-14 05:28:03 -03:00
parent 3879da9f26
commit 9b911a5e6f
39 changed files with 1257 additions and 533 deletions

View File

@@ -52,6 +52,7 @@ eeColorAf cFrameBuffer::ClearColor() const {
void cFrameBuffer::Clear() {
glClearColor( mClearColor.R(), mClearColor.G(), mClearColor.B(), mClearColor.A() );
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
cEngine::instance()->SetBackColor( cEngine::instance()->GetBackColor() );
}
void cFrameBuffer::SetBufferView() {