I want to get the latitude and longitude on a 3D sphere, depending on Mouse X,Y. Iv\'e understood that i have to use trigonometry. The problem is that the spher开发者_C百科e is put into a perspective,
Closed. This question is off-topic. It is not currently accepting answers. 开发者_如何学JAVA Want to improve this question? Update the question so it's on-topic for Stack Overflow.
I want to generate random points in a 2D space, this points will be nodes of a planar graph (built using Gabriel graph algorithm or RNG ).
I\'m working on a vector map editor and I have a set of elements, each of which specifies its bounding box within the view. As the mouse moves I want to highlight the first element whose bounding box
I\'m implementing a simple Volleyball game using Box2D in Flash. I need to implement some AI for the CPU player. Let\'s call him Jack. So Jack needs to predict where\'s the ball gonna land after it ha
I want to rotate an ACAD (AutoCAD 2008) element around the Z-Axis. I already have the following code snippet:
I have a set of rectangles and I would like to \"reduce\" the set so I have the fewest number of rectangles to describe the same area as the original set. If possible, I would like it to also be fast,
I\'m currently working on a problem where I need to properly order (using something like a right-hand rule) the nodes that make up a planar polygon in 3D space.My idea thus far is to construct a trans
I would like to know where开发者_如何学C exactly a widget is on the screen. You want to use the winfo_rootx and winfo_rooty methods of a widget.
I want to draw a circle with dashed border. imagearc function can开发者_开发问答 be used for simple border. But I don\'t get any way for dashed border.