studio-nine / nine.geometry Goto Github PK
View Code? Open in Web Editor NEWA lightweight library with geometry and spatial query.
License: MIT License
A lightweight library with geometry and spatial query.
License: MIT License
Should we add something alike MathHelper?
Fix the appveyor build
System.Numerics.Vectors
is the core type of Vectors and Matrix in corefx. Using types under that package allows us to be SIMD ready and interoperable with other libraries. We should drop the types under MonoGame
We have to create a nuget package.
Take this as an example:
public void Contains(ref BoundingBox boundingBox, out ContainmentType result) => result = this.Contains(boundingBox);
public ContainmentType Contains(BoundingBox boundingBox)
{
ContainmentType result;
Intersection.Intersect(ref boundingBox, ref this, out result);
return result;
}
BoundingBox.Contains(ref BoundingBox) calls Contains(BoundingBox), which causes the box to be copied.
In addition, not all contains method has a ref counter part. E.g., we have a Contains(BoundingFrustum) but there is no Contains(ref BoundingFrustum)
The suggestion is to move all these containment test methods into Intersection, each method has a Contains(struct) and Contains(ref struct) pair. BoundingBox only contain basic methods that does not take a ref structures, like Contains(Vector3) and Intersects(BoundingBox).
An example of dynamic BVH can be found in Farseer Physics DynamicTree.cs
What frameworks would be best to support?
Apparently dnx451 == dotnet5.4
which changed a while ago, so that should be fixed.
And dnxcore50
falls under dotnet
from what I understand.
Should there be two different types of ISpatialQueryable one for 2D and one for 3D?
So QuadTree would only work with 2D and Octree would only work with 3D.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.