Subastra
Loading...
Searching...
No Matches
Macros | Functions | Variables
camera.h File Reference
#include "../rendering/shader.h"
#include "require.h"
Include dependency graph for camera.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CAMERA_SPEED   2.5
 

Functions

static void system_camera_move (system_payload_t payload, allocator_t temporary_allocator)
 
static void system_camera_set_projection (system_payload_t payload, allocator_t temporary_allocator)
 

Variables

static system_requirements_declaration_t system_decl_camera_move
 
static system_requirements_declaration_t system_decl_camera_set_projection
 

Macro Definition Documentation

◆ CAMERA_SPEED

#define CAMERA_SPEED   2.5

Function Documentation

◆ system_camera_move()

static void system_camera_move ( system_payload_t  payload,
allocator_t  temporary_allocator 
)
static

◆ system_camera_set_projection()

static void system_camera_set_projection ( system_payload_t  payload,
allocator_t  temporary_allocator 
)
static

Variable Documentation

◆ system_decl_camera_move

system_requirements_declaration_t system_decl_camera_move
static
Initial value:
= {
.name = "system_camera_move",
.pin_to_main = false,
.dependencies = 0,
.dependency_count = 0,
.entities_mut = ENTITY_KIND_CAMERA,
.entities_const = 0,
.runner = system_camera_move}
static void system_camera_move(system_payload_t payload, allocator_t temporary_allocator)
Definition camera.h:9
@ ENTITY_KIND_CAMERA
Definition entity.h:37
@ SYSTEM_RESOURCE_MASK_INPUT
Definition require.h:69
@ SYSTEM_PHASE_UPDATE
Definition require.h:12

◆ system_decl_camera_set_projection

system_requirements_declaration_t system_decl_camera_set_projection
static
Initial value:
= {
.name = "system_camera_set_projection",
.pin_to_main = false,
.dependencies = 0,
.dependency_count = 0,
.entities_mut = ENTITY_KIND_CAMERA,
.entities_const = 0,
static void system_camera_set_projection(system_payload_t payload, allocator_t temporary_allocator)
Definition camera.h:36
@ SYSTEM_RESOURCE_MASK_SYSTEM_SPECIFIC_DATA
Definition require.h:71