Home Products Download Order Contacts

comp.graphics.algorithms

Subject: 4x4 matrix inversion



Does anyone have source code for a method to invert a 4x4 matrix?

my 4x4 is set up as below

TIA


----------------
public function setIdentity():Void {

m[0][0] = 1;
m[0][1] = 0;
m[0][2] = 0;
m[0][3] = 0;

m[1][0] = 0;
m[1][1] = 1;
m[1][2] = 0;
m[1][3] = 0;

m[2][0] = 0;
m[2][1] = 0;
m[2][2] = 1;
m[2][3] = 0;

m[3][0] = 0;
m[3][1] = 0;
m[3][2] = 0;
m[3][3] = 1;
}





Reply


View All Messages in comp.graphics.algorithms

path:


Replies:
Re: 4x4 matrix inversion
Re: 4x4 matrix inversion

Copyright 2006 WatermarkFactory.com. All Rights Reserved.