?? collision.h
字號:
#ifndef COLLISION_H
#define COLLISION_H
#include "utils.h"
#include <math.h>
//Given 2 lines in 2D space AB, CD this returns true if an
//intersection occurs and sets dist to the distance the intersection
//occurs along AB
bool LineIntersection2D(const SPoint A,
const SPoint B,
const SPoint C,
const SPoint D,
double &dist);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -