摘要: dtNavMeshQuery::raycast(dtPolyRef startRef, const float* startPos, const float* endPos, const dtQueryFilter* filter, const unsigned int options, dtRay 阅读全文
posted @ 2018-04-24 16:37 iceberg-liu 阅读(568) 评论(0) 推荐(0) 编辑
摘要: dtIntersectSegmentPoly2D(startPos, endPos, verts, nv, tmin, tmax, segMin, segMax): http://geomalgorithms.com/vector_products.html perp product也就是 2D外积 阅读全文
posted @ 2018-04-24 15:39 iceberg-liu 阅读(741) 评论(0) 推荐(0) 编辑