openxr rendering
This commit is contained in:
@@ -129,6 +129,11 @@ where
|
||||
T: Default,
|
||||
{
|
||||
pub fn init(&mut self, app: &mut AppState) {
|
||||
self.state.transform.translation = app
|
||||
.input_state
|
||||
.hmd
|
||||
.transform_point3a(self.state.spawn_point);
|
||||
self.state.realign(&app.input_state.hmd);
|
||||
self.backend.init(app);
|
||||
}
|
||||
pub fn render(&mut self, app: &mut AppState) {
|
||||
|
||||
Reference in New Issue
Block a user