Just equal instead of less than or equal
This commit is contained in:
		| @@ -54,7 +54,7 @@ void b3BuildEdgeContact(b3Manifold& manifold, | |||||||
| 	// Compute the closest points on the two lines. | 	// Compute the closest points on the two lines. | ||||||
| 	float32 b = b3Dot(N1, N2); | 	float32 b = b3Dot(N1, N2); | ||||||
| 	float32 den = 1.0f - b * b; | 	float32 den = 1.0f - b * b; | ||||||
| 	if (den <= 0.0f) | 	if (den == 0.0f) | ||||||
| 	{ | 	{ | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
|   | |||||||
| @@ -63,7 +63,7 @@ static void b3RebuildEdgeContact(b3Manifold& manifold, | |||||||
| 	// Compute the closest points on the two lines. | 	// Compute the closest points on the two lines. | ||||||
| 	float32 b = b3Dot(N1, N2); | 	float32 b = b3Dot(N1, N2); | ||||||
| 	float32 den = 1.0f - b * b; | 	float32 den = 1.0f - b * b; | ||||||
| 	if (den <= 0.0f) | 	if (den == 0.0f) | ||||||
| 	{ | 	{ | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user