ofMatrix3x3 * operator bug

there’s a bug in the * operator overloader.
excerpt from ofMatrix3x3.cpp:

 /**
 * Multiply a 3x3 matrix with a 3x3 matrix
 */
ofMatrix3x3 ofMatrix3x3::operator*(const ofMatrix3x3& B) {
	ofMatrix3x3 C;
	C.a = a * B.a + b * B.d + c * B.g;
	C.b = a * B.b + b * B.e + c * B.h;
	C.c = a * B.c + b * B.h + c * B.i;
	C.d = d * B.a + e * B.d + f * B.g;
	C.e = d * B.b + e * B.e + f * B.h;
	C.f = d * B.c + e * B.h + f * B.i;
	C.g = g * B.a + h * B.d + i * B.g;
	C.h = g * B.b + h * B.e + i * B.h;
	C.i = g * B.c + h * B.h + i * B.i;
	return C;
}

there are multiple .h where there should be .f in the middle column. function should be:

 /**
 * Multiply a 3x3 matrix with a 3x3 matrix
 */
ofMatrix3x3 ofMatrix3x3::operator*(const ofMatrix3x3& B) {
	ofMatrix3x3 C;
	C.a = a * B.a + b * B.d + c * B.g;
	C.b = a * B.b + b * B.e + c * B.h;
	C.c = a * B.c + b * B.f + c * B.i;
	C.d = d * B.a + e * B.d + f * B.g;
	C.e = d * B.b + e * B.e + f * B.h;
	C.f = d * B.c + e * B.f + f * B.i;
	C.g = g * B.a + h * B.d + i * B.g;
	C.h = g * B.b + h * B.e + i * B.h;
	C.i = g * B.c + h * B.f + i * B.i;
	return C;
}

i either got this from the iOS or Android release, version 0.8.0
man that took me a while to track down!

hey, thanks! this has actually been fixed but not released yet. At least for android i would recommend you to use the version from github or one of the nightly builds since there’s been lot’s of fixes since we released 0.8

super, glad to hear it.

i’m cloning from github right now. it appears there’s something wrong with the nightly builds links, following this link (I tried like 5 others too) looks it circles me back to the home page: http://openframeworks.cc/versions/nightly/of_latest_ios_nightly.zip

oh, thanks for reporting it, will take a look