package gg
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=22a647a9428c7d6803037a302efa1c329c3493a3cb73f407dd514b947520f233
md5=07911ce33ee68f871a08f98d1712df94
CHANGES.md.html
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 @Armael 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.