Cleaning up the code for Quickhull. Added more math routines in it. Created classes inside javascript. Its simple to create classes(objects only) in javascript. One has to use the Java Script Object Notation (JSON)
Example:
var bounding_box = {
"min": {
"x":0,
"y":0
},
"max": {
"x":0,
"y":0
}
};
Needs to recursively call on the edge subdivision. That will be when I get time next :-)
Example:
var bounding_box = {
"min": {
"x":0,
"y":0
},
"max": {
"x":0,
"y":0
}
};
The source code so far: QuickHull java script code.
Needs to recursively call on the edge subdivision. That will be when I get time next :-)
No comments:
Post a Comment