- Setter functions for
BoundingBox.center
property Vector.opBinaryRight
with static arraysVector
constructor from a Vector-like struct, that is, one with all fields of same typeVector.opCast
for a Vector-like struct type, that is, one with all fields of same type
- Renamed
BoundingBox.start
toBoundingBox.origin
- Added support for static arrays as arguments in
BoundingBox
- Variadic
Vector
constructor to be called only if more than one argument is passed
0.3.1 - 2021-01-25
Vector.opBinary
andVector.opBinaryRight
versions that accepts non-T arguments
- Import valuerange in package.d
- Avoid overflow/underflow in
lerp
- Make
Vector._get
andVector._slice
public
0.3.0 - 2021-01-15
- box submodule, with type and dimension generic axis-aligned bounding box template
width
,height
anddepth
aliases forVector
elementsvector
overload that receive elements and infers element type usingstd.traits.CommonType
- Changed target type to source library in
dub.json
andmeson.build
, as all package functionality is within templates
- Purity of Vector constructor with Range argument
vector.map
function, usestd.range.map
instead
0.2.0 - 2020-12-28
Matrix.copyInto
function that copies values between matrices of any dimensionsMatrix.opCast
function to cast between matrices of different dimensionsTransformOptions
enum for specifying template options, for now if Transform should use a compact matrix typeTransform.copyInto
function that copies a Transform into anotherTransform.copyInto
function that copies a Transform into a Transform-like Matrix type (NxN or NxN-1)Transform.opCast
function to cast between Transform typesEasingFunction
alias to easing functions' type- This CHANGELOG file
- Added
auto ref
to several Matrix and Vector functions' arguments - Changed
Vector.opCast
to acceptT2[N]
instead ofVector!(T2, N)
- Forced easing functions return types to
T
- Shearing transformations when passing a single value
- Transform template compact parameter, in favor of
TransformOptions
- Transfrom's
full
,compact
,fullInto
andcompactInto
functions, in favor ofcopyInto
andopCast
- Shearing transformations for 1D Transforms
0.1.0 - 2020-12-23
- DUB package manifest
- Meson project file
- README file with an overview about the package and it's submodules
- cmath submodule, with type generic standard math function wrappers
- easings submodule, with type generic easing functions
- hexagrid2d submodule, with 2D hexagon grid math functionality
- matrix submodule, with type generic matrices
- misc submodule, with miscelaneous functions
- transform submodule, with type and dimension generic affine transformation matrices
- valuerange submodule, with type generic scalar value ranges for value interpolation and remapping
- vector submodule, with type and dimension generic vector math