brender-1997/inc/matrix.h
2022-05-03 14:31:40 -07:00

49 lines
853 B
C

/*
* Copyright (c) 1992,1993-1995 by Argonaut Technologies Limited. All rights reserved.
*
* $Id: matrix.h 2.2 1996/10/03 11:09:55 sam Exp $
* $Locker: $
*
* Structrures describing matrices
*/
#ifndef _MATRIX_H_
#define _MATRIX_H_
typedef struct br_matrix23 {
br_scalar m[3][2];
} br_matrix23;
typedef struct br_matrix23_f {
br_float m[3][2];
} br_matrix23_f;
typedef struct br_matrix23_x {
br_fixed_ls m[3][2];
} br_matrix23_x;
typedef struct br_matrix34 {
br_scalar m[4][3];
} br_matrix34;
typedef struct br_matrix34_f {
br_float m[4][3];
} br_matrix34_f;
typedef struct br_matrix34_x {
br_fixed_ls m[4][3];
} br_matrix34_x;
typedef struct br_matrix4 {
br_scalar m[4][4];
} br_matrix4;
typedef struct br_matrix4_f {
br_float m[4][4];
} br_matrix4_f;
typedef struct br_matrix4_x {
br_fixed_ls m[4][4];
} br_matrix4_x;
#endif