aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:21 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:21 +0100
commit83e4ac1499b548957c554f740934b9b2a02310aa (patch)
treec890dc4ca220a4ee53b88a729472050e6da0b9b9 /examples
parent95708732572431dc057a9fd71fa8bd8571a336a2 (diff)
refactor(all): 2018 edition
Diffstat (limited to 'examples')
-rw-r--r--examples/render-bsp/Cargo.toml1
-rw-r--r--examples/render-bsp/src/main.rs20
2 files changed, 1 insertions, 20 deletions
diff --git a/examples/render-bsp/Cargo.toml b/examples/render-bsp/Cargo.toml
index b8b5a9d..eb58e4a 100644
--- a/examples/render-bsp/Cargo.toml
+++ b/examples/render-bsp/Cargo.toml
@@ -2,6 +2,7 @@
name = "render-bsp"
version = "0.1.0"
authors = ["Oscar <oscar.shrimpton.personal@gmail.com>"]
+edition = "2018"
[dependencies]
stockton-render = { path = "../../stockton-render", features = ["vulkan"] }
diff --git a/examples/render-bsp/src/main.rs b/examples/render-bsp/src/main.rs
index 8278f1e..1f85ed8 100644
--- a/examples/render-bsp/src/main.rs
+++ b/examples/render-bsp/src/main.rs
@@ -15,28 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// This program is free software: you can redistribute it and/or modify it
-// under the terms of the GNU General Public License as published by the Free
-// Software Foundation, either version 3 of the License, or (at your option)
-// any later version.
-
-// This program is distributed in the hope that it will be useful, but WITHOUT
-// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-// more details.
-
-// You should have received a copy of the GNU General Public License along
-// with this program. If not, see <http://www.gnu.org/licenses/>.
-
//! Renders ./example.bsp
-extern crate log;
-extern crate simple_logger;
-extern crate stockton_levels;
-extern crate stockton_render;
-extern crate stockton_types;
-extern crate winit;
-
use winit::{event::Event, event_loop::EventLoop, window::WindowBuilder};
use stockton_levels::{prelude::*, q3::Q3BSPFile};