shithub: nanobsp

Download patch

ref: 5d21124b492e2614def17f6e95c27b5e6ddfae94
parent: dcd0398ab4aad2103d4ab3eca677850087bc28c0
author: Andrew Apted <ajapted@gmail.com>
date: Sat Dec 9 10:48:43 EST 2023

fixed a bug in BSP_SegOnSide() func.

--- a/nano_bsp.c
+++ b/nano_bsp.c
@@ -225,7 +225,7 @@
 		return BSP_SameDirection (part, seg) ? +1 : -1;
 
 	// splits the seg?
-	if ((side1 *= side2) < 0)
+	if ((side1 * side2) < 0)
 		return 0;
 
 	return (side1 >= 0 && side2 >= 0) ? +1 : -1;
--