added threading handler for capturing VRPN input

This commit is contained in:
Hartmut Seichter 2022-12-20 23:23:03 +01:00
parent 6c8c9d70cb
commit d39fd7b0f6
7 changed files with 119 additions and 102 deletions

View file

@ -24,7 +24,11 @@ impl CameraProjection for OffAxisProjection {
// what to do on window resize
fn update(&mut self, width: f32, height: f32) {
// self.aspect = width / height;
// extract sx and sy from matrix
// let sx = self.projection_matrix.x_axis.x;
// let sy = self.projection_matrix.y_axis.y;
}
fn far(&self) -> f32 {