mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-17 16:00:26 +02:00
94 lines
1.9 KiB
C
94 lines
1.9 KiB
C
/*
|
|
ERROR_GEOMETRY.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __ERROR_GEOMETRY_H
|
|
#define __ERROR_GEOMETRY_H
|
|
#pragma once
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "math/real_math.h"
|
|
|
|
/* ---------- prototypes/ERROR_GEOMETRY.C */
|
|
|
|
void error_geometry_initialize(
|
|
void);
|
|
|
|
void error_geometry_dispose(
|
|
void);
|
|
|
|
void error_geometry_set_name(
|
|
char const *name);
|
|
|
|
void error_geometry_set_transform(
|
|
real_matrix4x3 const *matrix);
|
|
|
|
void error_geometry_point(
|
|
real_point3d const *point,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_line(
|
|
real_point3d const *p0,
|
|
real_point3d const *p1,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_triangle(
|
|
real_point3d const *point0,
|
|
real_point3d const *point1,
|
|
real_point3d const *point2,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_polygon(
|
|
short point_count,
|
|
real_point3d const *points,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_polygon_list(
|
|
long polygon_count,
|
|
short const *point_counts,
|
|
real_point3d const *points,
|
|
real_argb_color const *colors);
|
|
|
|
void error_geometry_polygon_mesh__textured_with_no_import_scale(
|
|
long width,
|
|
long height,
|
|
real_point3d const *points,
|
|
real_point2d const *texcoords);
|
|
|
|
void error_geometry_rectangle3d(
|
|
real_rectangle3d const *bounds,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_bounded_point(
|
|
real_point3d const *point,
|
|
real radius,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_bounded_line(
|
|
real_point3d const *p0,
|
|
real_point3d const *p1,
|
|
real radius,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_bounded_triangle(
|
|
real_point3d const *p0,
|
|
real_point3d const *p1,
|
|
real_point3d const *p2,
|
|
real radius,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_bounded_polygon(
|
|
short point_count,
|
|
real_point3d const *points,
|
|
real radius,
|
|
real_argb_color const *color);
|
|
|
|
void error_geometry_comment(
|
|
char const *format,
|
|
...);
|
|
|
|
#endif // __ERROR_GEOMETRY_H
|