Merge branch 'entity' into debug-merge

This commit is contained in:
Quaternions 2025-03-11 17:50:34 -07:00
commit 6b0938eb3b

@ -235,8 +235,8 @@ pub fn convert<'a>(
let mut teleport_destinations=HashMap::new();
const WHITE:vbsp::Color=vbsp::Color{r:255,g:255,b:255};
const ENTITY_ATTRIBUTE:gameplay_attributes::CollisionAttributesId=ATTRIBUTE_CONTACT_DEFAULT;
const ENTITY_TRIGGER_ATTRIBUTE:gameplay_attributes::CollisionAttributesId=ATTRIBUTE_INTERSECT_DEFAULT;
const ENTITY_ATTRIBUTE:attr::CollisionAttributesId=ATTRIBUTE_DECORATION;
const ENTITY_TRIGGER_ATTRIBUTE:attr::CollisionAttributesId=ATTRIBUTE_INTERSECT_DEFAULT;
for raw_ent in &bsp.entities{
let debug_info=match model::EntityInfo::new(raw_ent.properties()){
Ok(entity_info)=>model::DebugInfo::Entity(entity_info),