archivemuh
This commit is contained in:
39
archive/dusksdl2/display/camera/camera.h
Normal file
39
archive/dusksdl2/display/camera/camera.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Copyright (c) 2025 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "dusksdl2.h"
|
||||
|
||||
/**
|
||||
* Pushes the UI camera matrix onto the stack.
|
||||
*/
|
||||
void cameraUIPush(void);
|
||||
|
||||
/**
|
||||
* Pops the UI camera matrix from the stack.
|
||||
*/
|
||||
void cameraUIPop(void);
|
||||
|
||||
/**
|
||||
* Pushes the screen space camera matrix onto the stack.
|
||||
*/
|
||||
void cameraScreenPush(void);
|
||||
|
||||
/**
|
||||
* Pops the screen space camera matrix.
|
||||
*/
|
||||
void cameraScreenPop(void);
|
||||
|
||||
/**
|
||||
* Pushes the overworld camera matrix onto the stack.
|
||||
*/
|
||||
void cameraOverworldPush(void);
|
||||
|
||||
/**
|
||||
* Pops the overworld camera matrix.
|
||||
*/
|
||||
void cameraOverworldPop(void);
|
Reference in New Issue
Block a user