3.16.5
This release mainly fixes specular reflections and the size of the gizmo when using an orthographic projection. Additionally, resources can now be marked as persistent and a new clear
method was added to the resource manager, which frees all non-persistent resources.
Changelog:
- Added new property
Height
toBBMOD_BaseCamera
, which is the height of the orthographic projection. Ifundefined
, then it is computed fromWidth
usingAspectRatio
. Defaults toundefined
. - Property
Width
ofBBMOD_BaseCamera
can now beundefined
. It is then computed fromHeight
usingAspectRatio
. - Fixed gizmo changing size based on its distance from the camera when using an orthographic projection.
- Fixed specular reflections when using an orthographic projection.
- Added new property
Persistent
toBBMOD_Resource
. If it istrue
, then the resource is persistent and it is not destroyed when methodfree
is used. Default value isfalse
. - Added new method
clear
toBBMOD_ResourceManager
, which destroys all non-persistent resources. - Added new macro
BBMOD_RESOURCE_MANAGER
, which is the default resource manager.