mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-22 08:00:29 +02:00
51 lines
803 B
C
51 lines
803 B
C
/*
|
|
STATIC_CAMERA.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __STATIC_CAMERA_H
|
|
#define __STATIC_CAMERA_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries/cseries.h"
|
|
#include "math/real_math.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct static_camera
|
|
{
|
|
real_point3d position;
|
|
long location;
|
|
real_vector3d forward;
|
|
real_vector3d up;
|
|
real field_of_view;
|
|
long timer;
|
|
long flags;
|
|
boolean initialized;
|
|
};
|
|
|
|
/* ---------- prototypes/STATIC_CAMERA.C */
|
|
|
|
void static_camera_new(
|
|
struct static_camera *camera,
|
|
real_point3d const *position,
|
|
long location,
|
|
real_vector3d const *forward,
|
|
real_vector3d const *up,
|
|
real field_of_view,
|
|
long timer,
|
|
long flags);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __STATIC_CAMERA_H
|