mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 20:00:04 -04:00
g3_Init and g3_Close do nothing
This commit is contained in:
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; }
|
||||
|
||||
Reference in New Issue
Block a user