; File: linf.i ; Author: Mikael Kalms ; Date: 1 Oct 1999 ; Title: Linear algebra function library (FPU based) ; ; Description: ; Contains functions for handling 3D vectors, 3x3 matrices, ; 3D transformations (kept as matrix + vector), ; and 3D planes IFND _LINF_I_ _LINF_I_ SET 1 ; 3D vector (column) rsreset V3_X rs.l 1 V3_Y rs.l 1 V3_Z rs.l 1 V3_SIZEOF rs.b 0 ; 3x3 matrix (column based) rsreset rs.b 3*V3_SIZEOF M3_SIZEOF rs.b 0 ; 3x3 matrix + 3D vector, applied to a vector as "V = MOVE + ROT * V0" rsreset C3_ROT rs.b M3_SIZEOF C3_MOVE rs.b V3_SIZEOF C3_SIZEOF rs.b 0 ; 3D plane, on the form "Ax + By + Cz + D = 0" rsreset P3_A rs.l 1 P3_B rs.l 1 P3_C rs.l 1 P3_D rs.l 1 P3_SIZEOF rs.b 0 ENDC