mirror of
https://github.com/simtactics/niotso.git
synced 2025-10-14 14:11:28 -04:00
Mirrored rendering by libvitaboy Renderer
The next task is to add functionality to the far library to make it suitable for use directly by libvitaboy Renderer.# Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
6393955683
commit
bb904c4698
14 changed files with 116 additions and 75 deletions
|
@ -25,6 +25,10 @@
|
|||
#include <stdio.h>
|
||||
#include <FileHandler.hpp>
|
||||
|
||||
/****
|
||||
** Bytestream
|
||||
*/
|
||||
|
||||
class VBFile_t {
|
||||
private:
|
||||
const uint8_t *Buffer, *Position;
|
||||
|
@ -139,6 +143,7 @@ void ReadPropEntry(KeyValuePair_t& Entry);
|
|||
void ReadPropEntries(Prop_t& Prop);
|
||||
void ReadPropsList(PropsList_t& PropsList);
|
||||
float DotProduct(Rotation_t * q1, Rotation_t * q2);
|
||||
void Normalize(Rotation_t * q);
|
||||
void CombineQuaternions(Rotation_t * Destination, Rotation_t * Source);
|
||||
void FindQuaternionMatrix(float * Matrix, Rotation_t * Quaternion);
|
||||
|
||||
|
@ -214,6 +219,7 @@ struct Appearance_t {
|
|||
|
||||
void ReadAppearance(Appearance_t& Appearance);
|
||||
|
||||
|
||||
/****
|
||||
** Binding (*.bnd)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue