aboutsummaryrefslogtreecommitdiff
path: root/stockton-types
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:20 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:20 +0100
commit58319f04f239ab4a81b4eb878ad987fe453fef9e (patch)
treeb3245686b548b3d5f51bd61be609c1bee239d155 /stockton-types
parentac3870a05701933d85c4a8b440d3c7dbc4959d33 (diff)
feat(levels): coord system types and swizzling
the room is now the right way up! yay!
Diffstat (limited to 'stockton-types')
-rw-r--r--stockton-types/src/world.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/stockton-types/src/world.rs b/stockton-types/src/world.rs
index 8294523..69a7ad6 100644
--- a/stockton-types/src/world.rs
+++ b/stockton-types/src/world.rs
@@ -18,11 +18,11 @@
use stockton_levels::prelude::*;
/// A loaded world.
-pub struct World<T: MinBSPFeatures> {
+pub struct World<T: MinBSPFeatures<VulkanSystem>> {
pub map: T,
}
-impl<T: MinBSPFeatures> World<T> {
+impl<T: MinBSPFeatures<VulkanSystem>> World<T> {
/// Create a new world from a level.
/// The level can be any format, as long as it has the required features of a bsp.
pub fn new(map: T) -> World<T> {