开发者

Is there a Vector3 implementation for OS X? Preferably Objective-C?

So I'd love to have a class that is basically identical to: http://msdn.microsoft.com/en-us/library/bb324325(v=vs.85).aspx

Does t开发者_运维百科his exist w/in OS X in some framework? After Googling around a bit I wasn't able to find anything concrete, just references to NSMutableArray which obviously won't work.

Thanks!


SMatrix has a vector Vector class that can be useful. If you are after a space-like 3-vector, then GenVector has generic 3-vectors and points, plus 2D, 3D and 4D operations and transformations. GenVector is more suited to physics, so the vector dimensions and a lot of the available operations have a specific meaning. SMatrix is more generic and supports some vector and linear algebra operations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜