14 lines
425 B
C
14 lines
425 B
C
#pragma once
|
|
#include "opengl.h"
|
|
#include "physics.h"
|
|
|
|
/* Return 1 if collision is detected. */
|
|
int CollideSprite(const glTexture* at, const int asx, const int asy,
|
|
const Vec2* ap, const glTexture* bt,
|
|
const int bsx, const int bsy, const Vec2* bp);
|
|
|
|
/* Get direction to face the target. */
|
|
/*double CollidePath(const Vec2* p, Vec2* v,
|
|
const Vec2* tp, Vec2* tv, const double limit);*/
|
|
|