Comments (2)
rcSpan struct is defined as follows in recastnavigation:
struct rcSpan
{
unsigned int smin : RC_SPAN_HEIGHT_BITS;
unsigned int smax : RC_SPAN_HEIGHT_BITS;
unsigned int area : 6;
rcSpan* next;
};
Which means smin
occupies 13 bits, smax
another 13 bits and area
the remaining 6 bits of the 32-bit word.
These values are expended to full 32-bit integers in recast4j as follows:
public class Span {
public int smin;
public int smax;
public int area;
public Span next;
}
Hence the limits are increased, potentially they could be increased to 31 bits instead of 20 if really needed.
from recast4j.
thank you
from recast4j.
Related Issues (20)
- The difference between tilecache and dynamicnavmesh HOT 1
- Why did I get a NoSuchMethodError? HOT 2
- Build Tiling NavMesh with Off Mesh Link throw error
- Tilecache add obstacle error HOT 2
- Tilecache add obstacle error HOT 4
- DynamicNavMesh TileCache.removeObstacle() is protect HOT 3
- Error when running on ubuntu HOT 2
- Can you please make the DetourCommon methods all public? HOT 2
- DetourCommon.vLerp(DetourCommon.java:56) java.lang.NullPointerException HOT 1
- TileCacheBuilder.canRemoveVertex ArrayIndexOutOfBoundsException HOT 2
- Simplifications and potential bug HOT 1
- Metric of path list got from navquery.getPath function
- java.io.ioexception invalid magic HOT 2
- Multithreading use tilecache HOT 1
- About “rcBuildPolyMesh: Too many vertices ” limit is 0xfffe
- Bug/Useless code for cylinder collision HOT 1
- Please add encoding utf-8 to javadoc as well. Or it won't compile for Chinese system.
- Typo in the method name PolygonByCircleConstraint.aply() HOT 1
- Update AtarPathfindingProject 5.0.9. Import error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recast4j.