Commit 34eb27bb authored by Libor Moravčík's avatar Libor Moravčík
Browse files

Fixed according to MR feedback

parent bbaea0a7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ bool VClip::raycast(geometry::Ray const &ray, ConvexHullCollider *collider, RayC
	auto line_half_edge = line->mesh()->half_edge(0).lock().get();

	auto hits = std::set<geometry::RayIntersection>{};
	result = RayCastResult(collider, hits);

	// Update collider's mesh
	(void)collider->mesh();

@@ -591,6 +591,7 @@ bool VClip::raycast(geometry::Ray const &ray, ConvexHullCollider *collider, RayC

	if (detect(collider, line, info, new_cache, cache) == false)
	{
		result = RayCastResult(collider, hits);
		return false;
	}