Fix Capsule::containedBy() crash on m_direction = glm::vec3(0.0f)
improved capsule fix
removed capsule code duplication
Merge pull request #596 from voxelinc/capsule_fix

Fix Capsule::containedBy() crash on m_direction = glm::vec3(0.0f)