|
-
Feb 14th, 2002, 04:10 PM
#1
DirectX is all about classes. I dont know if you could use it with straight C. You could probably use inline assembly to make the calls though =).
As CornedBee has said, VB classes are slow. And, as much as we may like to get around it, there are times when you HAVE to use classes. Any recursive structures, including animation skeletons, and Quad and Oct Trees require that the object be able to reference another instance of itself, something Types dont allow. There are many places that C++ far outstrips VB(templates, class speed, inline functions, native pointer manipulation), and these things can really make a difference.
In fact, my August 2000 Game Developer magazine places the average total number of clock cycles reserved for AI at 30%, up about 20% from the previous year. I would wager that the current amount is nearing 50%, especially with the newer and better cards coming out.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|