"lwjgl-util.jar" 属于哪里?

Where does "lwjgl-util.jar" belong to?

我正在用 LWJGL 3.0.0a 开发游戏。许多教程都使用 lwjgl_util.jar,其中包含 Vector2fGLU 等功能,例如 gluUnProject.

但是在这个版本中(在 downloads page 上可用)不再包含这样的库;它只包含核心lwjgl.jar。这些实用工具去哪儿了?

LWJGL 3 专注于 OpenGL 绑定。在 wiki 上写着

The library includes functionality and APIs that simply should never have been added to it. Such functionality belongs either to an engine using LWJGL, or to another library layered on top of LWJGL. This includes the util package (vecmath, mapped objects, image/sound file readers, etc) and anything to do with applets.

所以基本上这意味着,至少目前,核心库中不会有任何 Util 包。

但是,我们计划在其他核心功能(OpenGL ES 绑定、Vulkan 绑定等)已实现时包含一个。

来自roadmap

  • [.x]: May be postponed to a point release after 3.0.

[...]

[.x] Official utility library.

Even though the focus for LWJGL 3 is to only include the very lightweight, lower-level functionality in the core library, ease-of-use and appeal to novice programmers is also important. The current plan is to start a sibling project that will create an official utility library for LWJGL 3. It will include all non-essential functionality, optional features and helper/convenience utilities. It may also include an API that matches LWJGL 2 for easy porting of existing code. Engine-level functionality, like vecmath and fixed-function simulation, may or may not be included, depending on the amount of support the project receives. Another option is the creation of "profile-based" OpenGL classes, e.g. a GLCore class that includes only the core profile functionality from GL11 up to GL31.

[...]

Removed Features

The util package.

Some of the old functionality might be added to the utility library.

论坛上也开始了一个非官方的实用项目,Java OpenGL Math Library (JOML) (Github page),但不清楚是否会继续

编辑:截至 2015 年 6 月,JOML 是 LWJGL 团队的推荐:blog entry

编辑:截至 2015 年 6 月,LWJGL 包含 STB library。这为图像和字体加载提供了有用的实用功能。