17 years, 3 months ago
Highlights
Figuredx1 = 50y1 = 50 (base points)dist = 100 (distance from end of line to start of line)x2 = x1 + (sin(angle)*dist)y2 = y1 + (cos(angle)*dist)[Edited by - xLeo on July 7, 2009…
17 years, 3 months ago
17 years, 4 months ago
Is there a way to rotate an ID3DXLine according to specified Radians (or Degrees), e.g Base point: 100.0f, 100.0f, I need the line to rotate 200(degrees), it will be roughly poi…
17 years, 3 months ago
In advance games, such as Halo3, or Call of Duty 4, I understand that they must use .FX files, or some aspect of HLSL to produce advanced shader effects. However, I do not see a…
17 years, 4 months ago
D3DXMATRIX mat; D3DXMatrixRotationX(&mat;, 45.0f); d3ddev->SetTransform(D3DTS_WORLD, &mat;); The above code does not rotate my vertices by 45degrees, or anything for that mat…
17 years, 4 months ago
Latest Activity
See all in DiscussionsFiguredx1 = 50y1 = 50 (base points)dist = 100 (distance from end of line to start of line)x2 = x1 …
17 years, 3 months ago
Is there a way to rotate an ID3DXLine according to specified Radians (or Degrees), e.g Base point: 100.0f, 100.0f, I …
17 years, 3 months ago
In advance games, such as Halo3, or Call of Duty 4, I understand that they must use .FX files, or …
17 years, 4 months ago