void Player2D::render() { glPushMatrix(); glColor3f(0x00, 0x11, 0xaa); glTranslatef(this->getPosition().x + gCameraX, this->getPosition().y + gCameraY, 0.0f); AABB2D temp = this->getBoundingBox(false); temp.render(); glPopMatrix(); }