Пример #1
0
Файл: ovr.go Проект: postfix/ovr
func (hmd *Hmd) GetEyePose(eye EyeType) Posef {
	return newPosef(C.ovrHmd_GetEyePose(hmd.hmdRef, C.ovrEyeType(eye)))
}
Пример #2
0
// Predicts and returns Pose that should be used rendering the specified eye.
// Must be called between ovrHmd_BeginFrameTiming & ovrHmd_EndFrameTiming.
func (this *Hmd) GetEyePose(eye EyeType) Posef {
	return posef(C.ovrHmd_GetEyePose(this.cptr(), C.ovrEyeType(eye)))
}