2021-06-23 19:25:12 +02:00
|
|
|
#pragma once
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <libgte.h>
|
|
|
|
#include <libgpu.h>
|
|
|
|
#include "../include/defines.h"
|
|
|
|
#include "../include/macros.h"
|
|
|
|
#include "../custom_types.h"
|
|
|
|
|
|
|
|
short checkLineW( VECTOR * pointA, VECTOR * pointB, MESH * mesh );
|
|
|
|
short checkLineS( VECTOR * pointA, VECTOR * pointB, MESH * mesh );
|
|
|
|
VECTOR getIntCollision(BODY one, BODY two);
|
|
|
|
VECTOR getExtCollision(BODY one, BODY two);
|
2021-07-01 15:09:18 +02:00
|
|
|
void checkBodyCol(BODY * one, BODY * two);
|
|
|
|
void applyAngMom(LEVEL curLvl );
|
2021-06-23 19:25:12 +02:00
|
|
|
void ResolveCollision( BODY * one, BODY * two );
|
|
|
|
VECTOR angularMom(BODY body);
|
|
|
|
void applyAcceleration(BODY * actor);
|