Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17560

How To Perform Matrix Dot Product On D3Dx9?

$
0
0

http://www.mvps.org/DirectX/articles/math/dot/index.htm

 

Is it possible to do dot product on a vector with matrices in D3DX9?

 

I am trying to convert this project into C++ equivalence...

 

https://github.com/unr-arl/DubinsAirplane

 

In the python code

np.dot(rotz(pi/2), np.array([cos(anglstart), sin(anglstart), 0]).T)

It is trying to compute the dot product of a rotation matrix around z axis and dot with

a column vector...

 

https://msdn.microsoft.com/en-us/library/windows/desktop/bb205508(v=vs.85).aspx

 

The D3DXVec3Dot only works with dotting two vectors together?

 

Thanks

Jack


Viewing all articles
Browse latest Browse all 17560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>