Example #1
0
File: ovr.go Project: postfix/ovr
func (hmd *Hmd) EndFrame(renderPose [2]Posef, eyeTexture [2]Texture) {
	_renderPose := [2]C.ovrPosef{renderPose[0].toC(), renderPose[1].toC()}
	_eyeTexture := [2]C.ovrTexture{eyeTexture[0].toC(), eyeTexture[1].toC()}

	C.ovrHmd_EndFrame(hmd.hmdRef, &_renderPose[0], &_eyeTexture[0])
}
Example #2
0
File: ovr.go Project: krux02/libovr
func (this *Hmd) EndFrame() {
	C.ovrHmd_EndFrame(this.cptr())
}