swordlegend / recastnavigation

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

Style Request : 0xffff becomes a #define or const. #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Code: Style Request

What is the expected output? What do you see instead?
The PolyMesh uses max word as an indication that an index is not valid.  
The code would be more readable if a #define for const value were defined 
that was max word, and that was used instead of 0xffff when comparing and 
assigning.

What version of the product are you using? On what operating system?
Release 1.4  xp Pro 32 bit

Please provide any additional information below.

Original issue reported on code.google.com by shawnlha...@gmail.com on 5 Dec 2009 at 2:57

GoogleCodeExporter commented 9 years ago

Original comment by memono...@gmail.com on 27 Jan 2010 at 2:52