Optimize updateFastFaceRow processing by removing some TileSpec copy (#5678)
[oweals/minetest.git] / src / object_properties.h
index 02ec9d1f79b741fa972d32ee5c8f835d5b7f3540..908757a644752d8fa0f29df058cd7ac35128df6d 100644 (file)
@@ -33,7 +33,7 @@ struct ObjectProperties
        bool physical;
        bool collideWithObjects;
        float weight;
-       core::aabbox3d<f32> collisionbox;
+       aabb3f collisionbox;
        std::string visual;
        std::string mesh;
        v2f visual_size;
@@ -52,6 +52,8 @@ struct ObjectProperties
        video::SColor nametag_color;
        f32 automatic_face_movement_max_rotation_per_sec;
        std::string infotext;
+       //! For dropped items, this contains item information.
+       std::string wield_item;
 
        ObjectProperties();
        std::string dump();