TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Three.js ported to C++

25 点作者 itamarb超过 11 年前

1 comment

safetydank超过 11 年前
Great work!<p>I wish I&#x27;d seen this a month ago - I&#x27;ve been working on my own C++ port of three.js, but focusing on mobile and web targets via emscripten.<p>It&#x27;s reassuring to see how similar the client API looks. And interesting to note differences in the porting approach. Three.js uses dynamic objects in a lot of places, which can be difficult to translate to static types in C++. On the other hand, there&#x27;s a lot less wrangling of types to and from OpenGL compatible arrays which makes it easier to use in some ways.<p>See <a href="http://github.com/safetydank/resinlib" rel="nofollow">http:&#x2F;&#x2F;github.com&#x2F;safetydank&#x2F;resinlib</a> for my port.