Home Products Download Order Contacts

comp.graphics.algorithms

Subject: Re: 4x4 matrix inversion




> ----------------
> 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;
> }

the above is a identity matrix. If you inverse it, you get an identity
matrix. I guess you want to inverse any matrix, right?



Reply


View All Messages in comp.graphics.algorithms

path:
4x4 matrix inversion =>

Replies:
Re: 4x4 matrix inversion

Copyright 2006 WatermarkFactory.com. All Rights Reserved.