Skip to main content
gamedev.net
🔒 Locked

FreeCamera & DeleteCamera

Started by Amadrias 0 replies 250+ views
Original Post
Amadrias
Amadrias
Hi, I would like to know if PR_FreeCamera also deletes the camera from the world as PR_DeleteCamera does ? Thanks, Amadrias France
ChrisE
ChrisE
FreeCamera frees the name and camera pointer itself. It does not free the camera from the world''s camera list.

Most of the time you''ll never use the camera list anyways.
Instead you''ll keep pointers to the one or two cameras needed for the entire application.
Author of Power Render (http:/www.powerrender.com)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.