Selaa lähdekoodia

Merge git://github.com/assimp/assimp

Rodrigo Benenson 12 vuotta sitten
vanhempi
commit
4ccf4c751a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      include/assimp/types.h

+ 1 - 1
include/assimp/types.h

@@ -178,7 +178,7 @@ struct aiColor3D
 
 	/** Component-wise subtraction */
 	aiColor3D operator-(const aiColor3D& c) const {
-		return aiColor3D(r+c.r,g+c.g,b+c.b);
+		return aiColor3D(r-c.r,g-c.g,b-c.b);
 	}
 
 	/** Component-wise multiplication */