4
Copyright (C) 2005-2009 Julien Jorge, Sebastien Angibaud
4
Copyright (C) 2005-2010 Julien Jorge, Sebastien Angibaud
6
6
This program is free software; you can redistribute it and/or modify it
7
7
under the terms of the GNU General Public License as published by the
37
37
bear::universe::physical_item_attributes::physical_item_attributes()
38
38
: m_mass(std::numeric_limits<double>::infinity()), m_density(1),
39
m_speed(0, 0), m_acceleration(0, 0), m_internal_force(0, 0),
40
m_external_force(0, 0), m_self_friction(0.98), m_contact_friction(1),
41
m_elasticity(0), m_hardness(1), m_position(0, 0), m_size(0, 0),
42
m_system_angle(0), m_can_move_items(true),
43
m_contact_after_collision(false),
44
m_left_contact(false), m_right_contact(false), m_top_contact(false),
45
m_bottom_contact(false), m_middle_contact(false),
46
m_is_phantom(false), m_is_artificial(false)
39
m_angular_speed(0), m_speed(0, 0), m_acceleration(0, 0),
40
m_internal_force(0, 0), m_external_force(0, 0), m_self_friction(0.98),
41
m_contact_friction(1), m_elasticity(0), m_hardness(1), m_position(0, 0),
42
m_size(0, 0), m_system_angle(0), m_can_move_items(true),
43
m_contact_after_collision(false), m_left_contact(false),
44
m_right_contact(false), m_top_contact(false), m_bottom_contact(false),
45
m_middle_contact(false), m_is_phantom(false), m_is_artificial(false),
46
m_weak_collisions(false)
49
49
} // physical_item_attributes::physical_item_attributes()