Select stuff (hit detection is still off)
This commit is contained in:
@@ -27,7 +27,6 @@ use pipelines::{Drawcall, LineShader};
|
||||
use pipelines::line_vs::ty::LinePushConstants;
|
||||
use pipelines::DefaultShader;
|
||||
use pipelines::vs;
|
||||
use pipelines::vs::ty::PushConstants;
|
||||
|
||||
use crate::config::RenderConfig;
|
||||
use crate::vulkan::gameobject::{GameObject, GameObjectHandle};
|
||||
@@ -91,7 +90,6 @@ pub struct Texture {
|
||||
pub struct GameData {
|
||||
pub start_time: SystemTime,
|
||||
pub line_vertices: Vec<LinePoint>,
|
||||
pub push_constants: PushConstants,
|
||||
pub line_push_constants: LinePushConstants,
|
||||
pub recreate_pipeline: bool,
|
||||
pub dimensions: [u32; 2],
|
||||
@@ -126,9 +124,6 @@ impl VulkanRenderer {
|
||||
pub fn init(line_vertices: Vec<LinePoint>, enable_validation_layers: bool, render_config: RenderConfig) -> (VulkanRenderer, EventLoop<()>) {
|
||||
// Create empty game data struct to be filled
|
||||
let mut data = GameData {
|
||||
push_constants: PushConstants {
|
||||
model: Matrix4::identity().into(),
|
||||
},
|
||||
line_push_constants: LinePushConstants {
|
||||
model: Matrix4::identity().into(),
|
||||
view: Matrix4::identity().into(),
|
||||
|
||||
Reference in New Issue
Block a user