Files
RP411/MUNGA_L4/libDPL/dpl/MATRIX.H
T
CydandClaude Opus 4.8 4abbf8879f Initial import of Red Planet v4.10 Win32 source
Imports the current Win32 source for the pod-racing game 'Red Planet',
built on the MUNGA engine and its L4 (Win32/DirectX) platform layer:

- MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend
- RP / RP_L4: Red Planet game logic and Win32 application
- DivLoader, Setup1: asset loader and installer project
- lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies

Removed stale Subversion metadata and added .gitignore/.gitattributes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:59:51 -05:00

48 lines
1.3 KiB
C++

#ifndef matrix_h
#define matrix_h
#ifdef __cplusplus
extern "C" {
#endif
/* **************************************************
Copyright DIVISION Limited (c) 1994
All rights reserved
File : dpl.h
Project : dpl interface
Author : PJA
Date : 18/6/94
Function: Introduces all the datatypes and functions
used by the dpl interface
History : Rev 1.0, 18 / 06 / 1994
**************************** */
#include <dpl/dpl.h>
#include <dpl/dpltypes.h>
#include <dpl/vpx/dpl_priv.h>
extern void dpl_SetAngleMode( int degrees );
extern void dpl_IdMatrix ( dpl_MATRIX m );
extern void dpl_Translate ( dpl_MATRIX m, float32 dx, float32 dy, float32 dz );
extern void dpl_Rotate ( dpl_MATRIX m, float32 angle, int32 axis );
extern void dpl_Scale ( dpl_MATRIX m, float32 x, float32 y, float32 z );
extern void dpl_Concat ( dpl_MATRIX m, dpl_MATRIX a, dpl_MATRIX b );
extern void dpl_Invert ( dpl_MATRIX inverse, dpl_MATRIX mat );
extern void dpl_XformPoint ( dpl_POINT q, dpl_POINT p, dpl_MATRIX m );
extern void dpl_IdMatrixDCS ( dpl_DCS *d );
extern void dpl_TranslateDCS ( dpl_DCS *d, float32 dx, float32 dy, float32 dz );
extern void dpl_RotateDCS ( dpl_DCS *d, float32 angle, int32 axis );
extern void dpl_ScaleDCS ( dpl_DCS *d, float32 x, float32 y, float32 z );
#ifdef __cplusplus
}
#endif
#endif