Havok 物理引擎的头文件位置列表
我正在尝试将 Havok 物理引擎集成到我的小游戏中。这是一个非常好的 SDK,但是头文件到处都是。许多标头深深嵌套在多个目录中。当您尝试包含不同重要对象的标头时,这会变得令人困惑。
我想知道是否有一个很好的指南可以让您知道某些对象在哪里以及它们在什么头文件中。我已经查看了 Havok 的文档,并且还查看了参考手册,但他们没有给出关于某些类所在位置(标题位置)的详细信息。另外,是否有任何程序可以扫描头文件并创建可以找到对象的列表?
再次感谢
I am trying to integrate the Havok physics engine into my small game. It is a really nice SDK, but the header files are all over the place. Many headers are deeply nested in multiple directories. That gets confusing when you are trying to include headers for different important objects.
I would like to know if there is a nice guide that will let you know where certian objects are and what headres they are in. I have already looked at Havok's documentation, and I also looked at the reference manual, but they don't give great detail as to where certain classes are located (header location). Also, is there any programs out there that can scan header files and create a list of where objects can be found?
Thanks again
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Visual Studio 中,右键单击类并选择
转到声明
通常可以很好地查找标头。您还可以将源目录添加到目录列表中以搜索在文件中查找
。打开标头后,您可以复制文件路径并将其转换为 #include 语句。仅供参考,总的来说,这个英特尔网站上的论坛比对于 Havok 特定的问题,SO。我定期检查那里,Havok 的几位开发人员支持工程师也是如此。
In Visual Studio, right-clicking on a class and selecting
Go to Declaration
usually does a good job of finding the header. You can could also add the source directory to your list of directories to search forFind in Files
. Once you've got the header open, you can copy the file path and convert it to a #include statement.FYI, in general, this forum on Intel's site is a better place than SO for Havok-specific questions. I check there regularly, as do several of the developer support engineers from Havok.