From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3622 invoked from network); 30 Jan 2023 01:28:41 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 30 Jan 2023 01:28:41 -0000 Received: from maat.thinktankworkspaces.com ([45.79.94.76]) by 9front; Sun Jan 29 20:25:40 -0500 2023 Message-ID: <760DDEAEAA34C2CCD2EB2195D73D0AED@thinktankworkspaces.com> To: 9front@9front.org Date: Sun, 29 Jan 2023 17:25:37 -0800 From: william@thinktankworkspaces.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: basic ACPI over ACPI API event Subject: Re: [9front] [patchset] libgeometry revamp Reply-To: 9front@9front.org Precedence: bulk Brilliant! Quoth rgl@antares-labs.eu: > hello everyone, > > this is a proposal to renovate the current libgeometry with a more > modern implementation that i've been using in my personal projects for > the last four years. it provides almost all of the functionality > available in the old one, with a cleaner and more consistent interface > (similar naming conventions as those used in libdraw's geometric > routines), plus the addition of 2D transformations (not just 3D), a > frame of reference data type for 2- and 3-spaces, and utilities such > as point-in-polygon testing and barycentric coordinate computations. > > i documented everything in a single man page—geometry(2)—, so i got > rid of those related to the old library, with the exception of > qball(2), on which i'm still working and whose implementation i > believe to be broken; i'm using a version by BurnZeZ with some minor > changes that actually works, but it doesn't perform rotations the way > it should (demo: https://www.youtube.com/watch?v=g3pha1EXhIk) and i > will need more time to come up with a proper Arcball controller. > > some examples of projects where i use the library: > > - http://git.antares-labs.eu/boids/ > - http://git.antares-labs.eu/etoys/ > - http://git.antares-labs.eu/gamephysics/ > - http://git.antares-labs.eu/3dee/ > > > if it looks reasonable to you, i can push it upstream. > > > > cheers! > > -rodri >