2021-04-10 14:22:48 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <libgte.h>
|
|
|
|
#include <libgpu.h>
|
|
|
|
|
|
|
|
#include "defines.h"
|
|
|
|
|
|
|
|
#include "macros.h"
|
|
|
|
|
2021-04-14 15:56:14 +02:00
|
|
|
#include "custom_types.h"
|
2021-04-10 14:22:48 +02:00
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
void ResolveCollision( BODY * one, BODY * two );
|
|
|
|
|
|
|
|
VECTOR angularMom(BODY body);
|
|
|
|
|
|
|
|
void applyAcceleration(BODY * actor);
|