mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
g3_Init and g3_Close do nothing
This commit is contained in:
parent
fb2dbe8c92
commit
0d5aa9df1d
8
lib/3d.h
8
lib/3d.h
@ -259,14 +259,6 @@ struct g3Point {
|
||||
|
||||
// Functions in library
|
||||
|
||||
// 3d system startup and shutdown:
|
||||
|
||||
// initialize the 3d system
|
||||
void g3_Init(void);
|
||||
|
||||
// close down the 3d system
|
||||
void g3_Close(void);
|
||||
|
||||
// Frame setup functions:
|
||||
|
||||
// start the frame, specifying view position, matrix, & zoom
|
||||
|
@ -26,12 +26,6 @@
|
||||
// User-specified aspect ratio, stored as w/h
|
||||
static float sAspect = 0.0f;
|
||||
|
||||
// initialize the 3d system
|
||||
void g3_Init(void) { atexit(g3_Close); }
|
||||
|
||||
// close down the 3d system
|
||||
void g3_Close(void) {}
|
||||
|
||||
// allows the user to specify an aspect ratio that overrides the renderer's
|
||||
// The parameter is the w/h of the screen pixels
|
||||
void g3_SetAspectRatio(float aspect) { sAspect = aspect; }
|
||||
|
Loading…
Reference in New Issue
Block a user