How would I get 4 points rotated a certain degrees around a pointer to form a rectangle? I can ro开发者_JS百科tate a point around a point, but I can\'t offset it to make a rectangle that isn\'t distor
I have been scouting around the net for an algorithm that enables you to create level of detail (LOD) representations of 2D polygons, but am unable to find ANY decent reference. Maybe I am using the w
This is kind of frustrating me as I\'ve been grizzling over it for a couple of hours now. Basically I\'m drawing 2D sprites through spritebatch and 3D orthographically projected geometry using the Ba
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I am going to make a game like XNA example game \"Platformer1\" which comes with the XNA. But I need longer levels which doesn\'t fit in the screen (like Super Mario levels). How can I manage this kin
I met some problems when passing 2d-array to functions today, later I found some solutions like A and B.
I\'ve been looking over a bunch of 2D Engines for Android development and I\'m finding it fairly开发者_JAVA百科 difficult to decide between all of the options. Many of the engines are no longer being
I\'m drawing something similar to a LED VU meter in OpenGL. Result should be like on vertical bar of this:
Imagine we have a 2D sky (10000x10000 coordinates). Anywhere on this sky we can have an aircraft, identified by its position (x, y). Any aircraft can start moving to another coordinates (in straight l
I have a simple OpenGL application, which displays a line. I store x1, y1, x2 and y2 in global variables.