Fix axis layout and implement click raytracing
This commit is contained in:
@@ -57,7 +57,7 @@ impl GameObject {
|
||||
pub fn get_push_constants(&self) -> vs::ty::PushConstants {
|
||||
vs::ty::PushConstants {
|
||||
model: self.get_model_matrix().into(),
|
||||
is_selected: if self.is_selected { 0 } else { 1 },
|
||||
is_selected: if self.is_selected { 1 } else { 0 },
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user