mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-11-18 13:56:00 +00:00
Added multisampling. Moved obstacle avoidance to DetourCrowd.
This commit is contained in:
@@ -79,6 +79,8 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
|
||||
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
|
||||
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 8);
|
||||
|
||||
const SDL_VideoInfo* vi = SDL_GetVideoInfo();
|
||||
|
||||
@@ -169,8 +171,8 @@ int main(int /*argc*/, char** /*argv*/)
|
||||
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
|
||||
glEnable(GL_POINT_SMOOTH);
|
||||
glEnable(GL_LINE_SMOOTH);
|
||||
// glEnable(GL_POINT_SMOOTH);
|
||||
// glEnable(GL_LINE_SMOOTH);
|
||||
|
||||
bool done = false;
|
||||
while(!done)
|
||||
|
||||
Reference in New Issue
Block a user