mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-26 20:01:13 +01:00
41 lines
678 B
C
41 lines
678 B
C
/*
|
|
FIRST_PERSON_CAMERA.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __FIRST_PERSON_CAMERA_H
|
|
#define __FIRST_PERSON_CAMERA_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries/cseries.h"
|
|
#include "math/real_math.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct first_person_camera
|
|
{
|
|
real field_of_view;
|
|
};
|
|
|
|
/* ---------- prototypes/FIRST_PERSON_CAMERA.C */
|
|
|
|
void first_person_camera_new(
|
|
struct first_person_camera *camera);
|
|
void first_person_camera_deterministic(
|
|
long unit_index,
|
|
real_point3d *position,
|
|
real_vector3d *forward);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __FIRST_PERSON_CAMERA_H
|