Files
Cesarus85--mjolnir-vr/source/models/models.h
T

54 lines
1.2 KiB
C

/*
MODELS.H
header included in hcex build.
*/
#ifndef __MODELS_H
#define __MODELS_H
#pragma once
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
/* ---------- prototypes/MODELS.C */
void model_interpolate_node_orientations(
struct model const *model,
struct real_orientation *original_node_orientations,
struct real_orientation *target_node_orientations,
short frame_index,
short frame_count);
void model_get_node_orientations(
struct model const *model,
struct real_orientation *node_orientations);
short model_find_marker(long model_index, char const *name);
struct real_matrix4x3 *model_get_default_inverse_matrix(
struct model *model,
short node_index);
short model_find_node(
long model_index,
char const *name);
short model_get_marker_by_name(
long model_index,
char const *name,
byte const *region_permutations,
short const *node_remapping_table,
short node_count,
struct real_matrix4x3 const *node_matrices,
boolean mirrored_flag,
struct object_marker *markers,
short maximum_marker_count);
void model_build_tangent_matrices(
struct model *model);
/* ---------- globals */
/* ---------- public code */
#endif // __MODELS_H