Velocity[a] is a Vector3 type (all doubles), Proximity is a double as is Influence. The highlighted code produces a cannot convert double to float error... I have tried (double)0 and that did not solve the problem. Any ideas?
Velocity[a] = (new Vector3(
Proximity.X != 0 ...
Maybe it is just a brain fart, however the highlighted line of my code produces and index out of range error... can anyone spot the problem?
public void AddParticle()
Array.Resize(ref Particlestemp, Particlestemp.Length);
Array.Copy(Particles, Particlestemp, Particles.Length)...
I have managed to fumble my way to some degree of success with DirectX... only real problem I have now is that my render meshes take on the aspect ratio of the windows form object... ?
When I add a reference, how can I be sure I am referencing the correct version of DirectX? I first installed DirectX 11 SDK... I did a system restore, however when I ran my IDE and added references, DirectX was still there when I should have had no SDK installed.
(sorry about the repost, just realized the original was in the wrong place)
I create a form and it displays fine, however as soon as I create my directX device the form stops displaying!
Here is my code, please note that I can eliminate all of the DirectX code and the form displays, however...