Hi,
The return value for RayCast::Pick(Scene *pScene, ActorId actorId, CDXUTSDKMesh *pMesh) is E_FAIL, about line 252, should it not be S_OK?
The method has just finished picking the correct ray to process and a fail here means that the calling method see's that it has failed, unless there is some parts missing from this method.
The return value for RayCast::Pick(Scene *pScene, ActorId actorId, CDXUTSDKMesh *pMesh) is E_FAIL, about line 252, should it not be S_OK?
The method has just finished picking the correct ray to process and a fail here means that the calling method see's that it has failed, unless there is some parts missing from this method.