Jump to content

[SOLVED] VR sample code error


photo

Recommended Posts

Hi, this is found in EyeTrackingProxy.cpp in VR:

		if (reflection->getFunctionName(i) == "getFocusWorldPosition")
			getFocusWorldPositionID = reflection->getFunctionID(i);
		if (reflection->getFunctionName(i) == "isValid")
			isValidID = reflection->getFunctionID(i);

Are you sure this is intended?

...\vr_sample\source\Framework\Components\Players\EyetrackingProxy.cpp(16,64): warning C4130: '==': logical operation on address of string constant
...\vr_sample\source\Framework\Components\Players\EyetrackingProxy.cpp(18,50): warning C4130: '==': logical operation on address of string constant

 

Link to comment
  • silent changed the title to [SOLVED] VR sample code error
×
×
  • Create New...