| /* $Id: matrix.c,v 1.12 1999/12/10 20:01:06 brianp Exp $ */ | |||||
| /* $Id: matrix.c,v 1.13 2000/01/13 00:27:05 brianp Exp $ */ | |||||
| /* | /* | ||||
| * Mesa 3-D graphics library | * Mesa 3-D graphics library | ||||
| * Version: 3.3 | * Version: 3.3 | ||||
| * | * | ||||
| * Copyright (C) 1999 Brian Paul All Rights Reserved. | |||||
| * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. | |||||
| * | * | ||||
| * Permission is hereby granted, free of charge, to any person obtaining a | * Permission is hereby granted, free of charge, to any person obtaining a | ||||
| * copy of this software and associated documentation files (the "Software"), | * copy of this software and associated documentation files (the "Software"), | ||||
| } | } | ||||
| } | } | ||||
| #if 0 | |||||
| void gl_matrix_set_identity( GLmatrix *m ) | void gl_matrix_set_identity( GLmatrix *m ) | ||||
| { | { | ||||
| MEMCPY( m->m, Identity, sizeof(Identity)); | MEMCPY( m->m, Identity, sizeof(Identity)); | ||||
| m->type = MATRIX_IDENTITY; | m->type = MATRIX_IDENTITY; | ||||
| m->flags = MAT_DIRTY_DEPENDENTS; | m->flags = MAT_DIRTY_DEPENDENTS; | ||||
| } | } | ||||
| #endif | |||||
| void gl_matrix_alloc_inv( GLmatrix *m ) | void gl_matrix_alloc_inv( GLmatrix *m ) | ||||
| { | { |