Sign in to follow this  

glPushName() scope..

Recommended Posts

This may be really stupid question but I'd be grateful if someone could clarify this. Basically I'm adding in object selection in my project. I have a number of classes, worldmanager, viewer, scene, and object. I'm trying to name the objects, new instances of objects get created in the scene class so I was wondering if use glPushName(); to name an object in the scene class, am I then still able to check for hits in the viewer class for instance or would I need to check / process the hits in the same class as where I'm naming objects?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this