Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/openal-0.0.8/src/al_matrix.h @ 17

Last change on this file since 17 was 17, checked in by landauf, 16 years ago

added openal

File size: 585 bytes
Line 
1/* -*- mode: C; tab-width:8; c-basic-offset:8 -*-
2 * vi:set ts=8:
3 *
4 * al_vector.h
5 *
6 * matrix math stuff
7 */
8
9#ifndef AL_MATRIX_H_
10#define AL_MATRIX_H_
11
12/*
13 * Allocates, initializes, and returns a matrix with the dimensions matching
14 * the passed arguments, or NULL on error.
15 */
16ALmatrix *_alMatrixAlloc( int rows, int cols );
17
18/*
19 * Frees a matrix allocated with _alMatrixAlloc.
20 */
21void _alMatrixFree( ALmatrix *m );
22
23/*
24 * Multiplies two matrices and places the result in result.
25 */
26void _alMatrixMul( ALmatrix *result, ALmatrix *m1, ALmatrix *m2 );
27
28#endif /* AL_MATRIX_H_ */
Note: See TracBrowser for help on using the repository browser.