From what I've seen... The Ugly: BrainF**K, Whitespace(hehe), LISP, Haskell, C/C++, PHP, BASIC The Beauty: C#, Java, Javascript, Visual Basic 6.0 (It might not be the most effective language out there, but it can look like pseudo code at times, making easier than hell to read),TI-BASIC, C/C++ I put C/C++ in both, because it really depends on what you're doing. Pieces of it are gorgeous, other pieces not so much. Those are really the only languages I've had experience with, so I won't comment on anything else.
P
Paul Zaczkowski
@Paul Zaczkowski
Posts
-
Programming Language and code aesthetics -
Noobie Direct3D HelpHey guys, first post on the forums (Hopefully I'm posting in the right section). I'm fairly new to the Direct3D World, so I'm making the "Hello world" program (aka, the rotating triangle). Well, I wanted to take it a bit further, and rotate my triangle on the Y axis, but translate the position using the mouse position. For instance, if my mouse was at screen coordinates, (15,15), I would want the triangle to rotate, with the top point of the triangle at the coordinates (15,15). The problem is: POINT pos; GetCursorPos(&pos); D3DXMATRIX Trans; D3DXMatrixTranslation( &Trans,(FLOAT)pos.x,(FLOAT)pos.y, 0.0f); Doesn't work in screen coordinates :-D. How can I do this? Thanks!