浏览代码

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

Rodrigo Benenson 12 年之前
父节点
当前提交
4ccf4c751a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 */