摘要:
通过叉乘的方法实现,下面是ogre中的实现代码,只给出2维的函数,三维是同样的道理:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//判断一个点是否在一个2维三角形内,通过叉乘的方法来实现boolMath::pointInTri2D(constV... 阅读全文
posted @ 2009-12-19 20:05
迈克老狼
阅读(518)
评论(0)
推荐(0)