package gg
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=eafa2bca019ddc89aab333ec086080108f376dc08f40fc340b6cd70a8916b673
md5=1801fc7b6af16c597ef0bfaacc12cd5b
CHANGES.md.html
v0.9.3 2018-10-23 Zagreb
Add
Color.to_srgbi
(inverse ofColor.v_srgbi
). Thanks to Christophe Troestler for the patch.Add missing constraints on
Float.{is_nan,equal,compare}
. Polymorphic equality was being used. Thanks to Christophe Troestler for the report (#17).Fix bug in
Gg.M3.rot2 ?pt:(Some _)
(#18).
v0.9.2 2017-01-24 La Forclaz (VS)
Add
Box{1,2,3}.add_pt
. Thanks to Christophe Troestler for the suggestion.V{2,3,4}.norm
avoid {under,over}flows. Thanks to Christophe Troestler for the report and guidance.Fix
Size.of_w
. Thanks to @rand00 for the report and the fix.Safe-string support.
Build depend on topkg.
Relicense from BSD3 to ISC.
v0.9.1 2015-08-14 Cambridge (UK)
Fix
Box1.pp
and add to toplevel support.Fix broken
Box{1,2,3}.subset
functions. Thanks to Armaël Guéneau for the report.Change toplevel support scheme,
#require "gg"
no longer automatically opensGg
and installs printers. You now have to#require "gg.top"
for this to happen.
v0.9.0 2014-08-23 Cambridge (UK)
Fix toplevel printer installation.
Use package builder topkg for distribution.
Add
Gg.Ba
(experimental). Convenience module for linear 1D bigarrays. The library now depends on Bigarrays.Many changes and fixes to the experimental
Gg.Raster
module.Removed
to_string
functions, they were not thread safe and we now haveFormat.asprintf
which can be used with the pretty printers.Add an optional argument to
M3.rot2
to specify a center for the rotation.Optimize
M{2,3,4}.mul
onM{2,3,4}.id
arguments.Add
M4.{move2,rot2,scale2,rigid2}
Rename
M4.{ortho,persp}
, replace~bottom
by~bot
.Add
Size1
module for sizes in 1D space.Add
Box1
module for 1D axis-aligned boxes (closed intervals).Add
Size2.{aspect,of_h,of_w}
functions.Add
Box2.{bm_pt,ml_pt,mm_pt,mr_pt,tm_pt}
for accessing middle points on the sides.Rename
Box2.{bottom,top}_{left,right}
toBox2.{b,t}{l,r}_pt
.Add
Box3.{fbl,fbr,ftl,ftr,nbl,nbr,ntl,ntr}
corner accessors.Fix a bug in
Box3.inset
, new size was incorrectly computed.
The following functions were renamed so that each module uses the same name for the same transform. Previously we had e.g. M3.scale
and M4.scale3
(3D) and M4.scale
(4D) which is confusing and inconvenient when one wants to switch from one matrix to the other.
Rename
M2.{rot,scale}
toM2.{rot2,scale2}
.Rename
M3.{move,rot,rigid,srigid}
toM3.{move2,rot2,rigid2,srigid2}
.Rename
M3.{rot_{map,axis,zyx},scale}
toM3.{rot3_{map,axis,zyx},scale3}
.Rename
M4.{move,rot_{map,axis,zyx},scale,rigid,rigidq,srigid,srigidq}
toM3.{move3,rot3_{map,axis,zyx},scale,rigid3,rigid3q,srigid3,srigid3q}
Rename
M4.scale
toM4.scale4
Rename
M4.{rot_{map,axis,zyx},to_rot_{axis,zyx}
toM4.{rot3_{map,axis,zyx},to_rot3_{axis,zyx}
.
v0.8.0 2013-09-24 Lausanne
First release. Part of the work was sponsored by Citrix Systems R&D and OCaml Labs.