1 Commits

Author SHA1 Message Date
mtgmonkey
20ecde081b release v0.2.0 2025-12-08 13:40:11 +01:00
3 changed files with 26 additions and 22 deletions

View File

@@ -10,30 +10,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- test suite for non-IO functions - test suite for non-`IO` functions
### Changed ### Changed
- use Rotors rather than Quaternions for rotation; easily extended to 4D - use rotors rather than `Linear.Quaternion` for rotation; easily extended to 4D
- move Player out of Camera - move `Player` out of `Camera`
- make effektiv all fields configurable - configure with `Properties` objects in the Model
- use `Double` rather than `FLoat` for internal calculations
- `cursorPos`, `dt` natively `Double` already
## [Unreleased] ## [0.2.0-pre0] - 2025-12-07
### Added ### Added
- 100% documentation coverage - 100% documentation coverage
- 4 outputs of Nix flake - 4 outputs of Nix flake
- debug: compiles fast, no docs - `debug`: compiles fast, no docs
- release: runs fast, no docs - `release`: runs fast, no docs
- docs: only docs - `docs`: only docs
- default: release binary with docs - `default`: release binary with docs
### Changed ### Changed
- initResources no longer takes a GLFW.Window argument - `initResources` no longer takes a `GLFW.Window` argument
- BSD 3-clause license adopted rather than WTFPL - BSD 3-clause license adopted rather than WTFPL
- reasoning: More professional, widely recognised, effectively identical - reasoning: More professional, widely recognised, effectively identical
- `CHANGELOG.md` has more formatting, namely inline code
- clarify a couple entries in the `[0.1.0] - 2025-12-07 Changed` entry
### Fixed ### Fixed
@@ -43,17 +47,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- CHANGELOG.md - added `CHANGELOG.md`
- layer correctly drawn objects in the view function - layer correctly drawn objects in `view`
### Changed ### Changed
- 8xMSAA rather than 4xMSAA window hint to improve AA - 8xMSAA rather than 4xMSAA window hint to improve AA
- todo and changelog in CHANGELOG.md rather than README.md - todo and changelog in `CHANGELOG.md` rather than `README.md`
- a nubmer fo functions from Game module now in Game.Internal - a nubmer fo functions from `Game` now in `Game.Internal`
- initResources takes an array of objects to draw rather than hardcoded arrays - `initResources` takes an `[V3 GL.GLfloat]` to draw rather than hardcoded arrays
- square the far plane of the perspective transform - square the distance of the far plane of the perspective transform
- loop function takes delta time - `loop` function takes delta time `dt :: Float`
### Fixed ### Fixed

View File

@@ -2,8 +2,8 @@
{- | {- |
- Module : Game - Module : Game
- Description : runs game - Description : runs game
- Copyright : Andromeda 2025 - Copyright : 2025 Andromeda
- License : WTFPL - License : BSD 3-clause
- Maintainer : Matrix @Andromeda:tchncs.de - Maintainer : Matrix @Andromeda:tchncs.de
- Stability : Experimental - Stability : Experimental
-} -}

View File

@@ -1,9 +1,9 @@
{-# LANGUAGE DisambiguateRecordFields, NamedFieldPuns, OverloadedRecordDot #-} {-# LANGUAGE DisambiguateRecordFields, NamedFieldPuns, OverloadedRecordDot #-}
{- | {- |
- Module : Game.Internal - Module : Game.Internal
- Description : 'hidden' functions - Description : internal functions
- Copyright : Andromeda 2025 - Copyright : 2025 Andromeda
- License : WTFPL - License : BSD 3-clause
- Maintainer : Matrix @Andromeda:tchncs.de - Maintainer : Matrix @Andromeda:tchncs.de
- Stability : Experimental - Stability : Experimental
-} -}