Hi there,
I have an OpenGL scene containing a circular plane, ball and box. I'm attempting to set up bounding box's around each for a primative form of collision detection.

I am trying to follow a tutorial from here:
http://www.morrowland.com/apron/article/gl/boundingbox/index.php

But it says i should use TVector3 ... i have TVector.h & .cpp but it doesnt recognise this.
It recognises TVector but then i get the error further down on boxArray[1].min.x = 2; stating that x "TVector has no member x"

Any help with this issue?

Or any reccomendations for better collision detection tutorials?

Thanks in advance
Matt

Recommended Answers

All 2 Replies

Past the TVector.h and TVector.cpp here.

I think i solved that issue, sorry for the bother.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.