senoutouya / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Call to dtVperp2d - don't need to negate #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Very simple thing, but should result in one less instruction.
DetourCommon.cpp - ln 129

float d = -dtVperp2D(edge,dir);

can be changed to  
float d = dtVperp2D(dir, edge);

Original issue reported on code.google.com by shawnlha...@gmail.com on 16 Jun 2010 at 3:09

GoogleCodeExporter commented 9 years ago
Fixed in R170.

Original comment by memono...@gmail.com on 8 Jul 2010 at 11:26