I have a collection of 2D coordinate sets (on the scale of a 100K-500K points in each set) and I am looking for the most efficient way to measure the similarity of 1 set to the other. I know of the us
Here is some code: struct K : CGAL::Exact_predicates_inexact_constructions_kernel {}; typedef CGAL::Triangulation_vertex_base_2<K>Vb;
Making my Asteroids clone (in C) I\'ve rather fallen in love with vector-based entities, but I\'ve simply coded them in as x,y-point arrays. That\'s been fine for something like Asteroids, but what sh
I\'m making a side scroller similar to Castle Crashers and right now I\'m using SAT for collision detection. That works great, but I want to simulate level \"depth\" by allowing objects to move up and
I\'d like to include a simple draw feature on my app. A friend told me I can\'t use canvas because I need to control the frame buffer and not redraw the entire screen every for every frame. He suggest
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting ans开发者_运维技巧wers.
I 开发者_如何学JAVAam writing simple hex engine for action-rpg in XNA 3.1. I want to light ground near hero and torches just as they were lighted in Diablo II. I though the best way to do so was to ca
I\'m trying to write a 2D simulation of a ball that bounces off of fixed vertical and horizontal walls.Simulating collisions with the faces of the walls was pretty simple--just negate the X-velocity f
I know the end points of a line segment and the distance/size of the perpendicular end caps I\'d like to create but I need to calcuate the end points of the perpendicular line. I\'ve been banging my h
I have a set K of rand开发者_如何转开发omly selected pixels in a 2D image. For every other pixel in the image I need to find out which pixel in set K is closest to it (using the standard sqrt(dx^2 + d