Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using DirectX10, June release and I am trying to

#include <DirectXCollision.h> 

so that I can use the bounding objects, however it does not seem to be there. Am I missing something basic?

share|improve this question
up vote 1 down vote accepted

That header is not part of D3D10 itself, but rather part of the DirectXMath library in the Windows 8 Developer Preview.

share|improve this answer
meaning? I can include it with another file? or it's documentation on something that hasn't been released yet? Is there another boundingVolume class I can use or should I just write my own? – SirYakalot Oct 7 '11 at 16:23
Meaning that you need the Windows 8 Preview SDK to use that header and the functionality it provides. You may be able to get similar functionality from the classic D3DX API -- for example, this function -- but you can't use DirectXMath with just the June SDK. You may be better off writing your own, depending on your needs, which you have not described. – Josh Petrie Oct 7 '11 at 17:48
my needs are for bounding spheres, boxes and rays. – SirYakalot Oct 7 '11 at 21:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.