mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-23 05:00:32 +02:00
24 lines
564 B
C
24 lines
564 B
C
/*
|
|
RENDER_CAMERAS_INTERNAL.H
|
|
|
|
Narrow cross-translation-unit interface owned by RENDER_CAMERAS.C.
|
|
*/
|
|
|
|
#ifndef __RENDER_CAMERAS_INTERNAL_H
|
|
#define __RENDER_CAMERAS_INTERNAL_H
|
|
#pragma once
|
|
|
|
#include "render_cameras.h"
|
|
|
|
real render_frustum_sphere_diameter_in_pixels(
|
|
struct render_frustum const *frustum,
|
|
real_point3d const *point,
|
|
real radius);
|
|
boolean render_camera_view_to_screen(
|
|
struct render_camera const *camera,
|
|
struct render_frustum const *frustum,
|
|
real_point3d const *view_point,
|
|
real_point2d *screen_point);
|
|
|
|
#endif /* __RENDER_CAMERAS_INTERNAL_H */
|