refactor projections into their own module

This commit is contained in:
Hartmut Seichter 2022-12-09 21:30:47 +01:00
parent 4e59d730fc
commit a7e92ba70a
6 changed files with 124 additions and 174 deletions

View file

@ -9,6 +9,7 @@ use crate::scene::*;
use crate::utils::*;
use crate::viewer::*;
use bevy::{prelude::*, window::PresentMode, render::camera::CameraProjectionPlugin};
use offaxis::{offaxis_camera_setup, OffAxisProjection};
@ -17,6 +18,7 @@ mod scene;
mod screeninfo;
mod utils;
mod viewer;
mod projection;
fn main() {
App::new()