title: C++ How can i find the vector between 2 points in a window?
body: <p>Im working on a project right now and i need to make a function that finds the vector direction for a bullet. My current code is off and i cant seem to find the reason why.</p>
  
  <pre><code>float AngleX = pMouse-&gt;X() - This-&gt;DirectionX();
  float AngleY = pMouse-&gt;Y() - This-&gt;DirectionY();
  </code></pre>