20 #ifndef PLAYRHO_COLLISION_SHAPES_POLYGONSHAPECONF_HPP
21 #define PLAYRHO_COLLISION_SHAPES_POLYGONSHAPECONF_HPP
28 #include <type_traits>
109 return lhs.
vertexRadius == rhs.vertexRadius && lhs.friction == rhs.friction
110 && lhs.restitution == rhs.restitution && lhs.density == rhs.density
111 && lhs.m_vertices == rhs.m_vertices;
117 return !(lhs == rhs);
133 return m_vertices[index];
145 return m_normals[index];
180 std::vector<Length2> m_vertices;
185 std::vector<UnitVec> m_normals;
188 Length2 m_centroid = GetInvalid<Length2>();
193 vertexRadius = value;
220 return arg.vertexRadius;
258 #endif // PLAYRHO_COLLISION_SHAPES_POLYGONSHAPECONF_HPP