shithub: tinygl

Download patch

ref: 9489d13f4b92b6abaa1b6fc51e3399c01130d9cd
parent: 3100557ad67bb72d7ad9a7bd2c8ff041d6008210
author: gek169 <gek169>
date: Mon May 10 14:40:22 EDT 2021

Automatic commit.

--- a/include-demo/chadphys.h
+++ b/include-demo/chadphys.h
@@ -47,6 +47,7 @@
 	if(a->mass > 0 || b->mass > 0){ //Perform a preliminary check. Do we even have to do anything?
 		/*We must do shit*/
 	} else {return;}
+	if(a->mass < -0 || b->mass < -0) return; /*ERROR- for the branch predictor, that is...*/
 	/*Optimized for branch prediction.*/
 	penvec = (vec4){
 		.d[0]=0,