Skip to content

Commit e4d1305

Browse files
committed
v1.3.0 -- major underlying machinery refactoring
1 parent 0010f77 commit e4d1305

File tree

4 files changed

+299
-281
lines changed

4 files changed

+299
-281
lines changed

README.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**dsga** is a single header-only **c++20 library** that implements the **vectors** and **matrices** from the OpenGL Shading Language 4.6 specification ([pdf](https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.60.pdf) | [html](https://registry.khronos.org/OpenGL/specs/gl/GLSLangSpec.4.60.html)). It is inspired by the spec, but does deviate in some small ways, mostly to make it work well in c++20. It is not intended to be used for rendering, just for sharing the fundamental data structures and associated functions. Our requirements in general are for things like 3D CAD/CAM applications and other geometric and algebraic things. See [motivation](docs/MOTIVATION.md) for more details. This library does not use SIMD instructions or types under the hood, beyond whatever the compiler provides through optimization.
44

55
## Current Version
6-
v1.2.11
6+
v1.3.0
77

88
## Contents
99
* [Some Quick Examples](#some-quick-examples)
@@ -278,17 +278,10 @@ This is a c++20 library, so that needs to be the minimum standard that you tell
278278
279279
## Status
280280
281-
Current version: `v1.2.11`
282-
283-
* Breaking Change with v1.2.0
284-
* ```size``` and ```column_size``` functions in the various classes are now static member functions, tied to static data members of type ```std::integral_constant```
285-
* Breaking Change with v1.1.0
286-
* Removed ```default_comparison_weights()```, ```weighted_compare()```, and related functions
287-
* Removed ```operator <=>``` for vector and matrix structs
288-
* Functionality is still available in [```examples/compare.hxx```](examples/compare.hxx)
281+
Current version: `v1.3.0`
289282
290283
* Everything major has some tests, but code coverage is not 100%.
291-
* [Last Released: v1.1.0](https://github.com/davidbrowne/dsga/releases/tag/v1.1.0)
284+
* [Last Released: v1.3.0](https://github.com/davidbrowne/dsga/releases/tag/v1.3.0)
292285
293286
### The next steps
294287
* Refining API documentation.
@@ -313,14 +306,14 @@ The tests have been most recently run on:
313306
314307
### Windows 11 Native
315308
316-
* **MSVC 2022 - v17.7.5**
309+
* **MSVC 2022 - v17.7.6**
317310
318311
```
319312
[doctest] doctest version is "2.4.11"
320313
[doctest] run with "--help" for options
321314
===============================================================================
322315
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
323-
[doctest] assertions: 2131 | 2131 passed | 0 failed |
316+
[doctest] assertions: 2132 | 2131 passed | 0 failed |
324317
[doctest] Status: SUCCESS!
325318
```
326319
@@ -331,7 +324,7 @@ The tests have been most recently run on:
331324
[doctest] run with "--help" for options
332325
===============================================================================
333326
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
334-
[doctest] assertions: 2131 | 2131 passed | 0 failed |
327+
[doctest] assertions: 2132 | 2131 passed | 0 failed |
335328
[doctest] Status: SUCCESS!
336329
```
337330
@@ -344,7 +337,7 @@ Performs all the unit tests except where there is lack of support for ```std::is
344337
[doctest] run with "--help" for options
345338
===============================================================================
346339
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
347-
[doctest] assertions: 2115 | 2115 passed | 0 failed |
340+
[doctest] assertions: 2116 | 2115 passed | 0 failed |
348341
[doctest] Status: SUCCESS!
349342
```
350343
@@ -357,7 +350,7 @@ Performs all the unit tests except where there is lack of support for ```std::is
357350
[doctest] run with "--help" for options
358351
===============================================================================
359352
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
360-
[doctest] assertions: 2131 | 2131 passed | 0 failed |
353+
[doctest] assertions: 2132 | 2131 passed | 0 failed |
361354
[doctest] Status: SUCCESS!
362355
```
363356
@@ -370,7 +363,7 @@ Performs all the unit tests except where there is lack of support for ```std::is
370363
[doctest] run with "--help" for options
371364
===============================================================================
372365
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
373-
[doctest] assertions: 2115 | 2115 passed | 0 failed |
366+
[doctest] assertions: 2116 | 2115 passed | 0 failed |
374367
[doctest] Status: SUCCESS!
375368
```
376369
@@ -383,7 +376,7 @@ Performs all the unit tests except where there is lack of support for ```std::is
383376
[doctest] run with "--help" for options
384377
===============================================================================
385378
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
386-
[doctest] assertions: 2131 | 2131 passed | 0 failed |
379+
[doctest] assertions: 2132 | 2131 passed | 0 failed |
387380
[doctest] Status: SUCCESS!
388381
```
389382
@@ -396,7 +389,7 @@ Performs all the unit tests except where there is lack of support for ```std::is
396389
[doctest] run with "--help" for options
397390
===============================================================================
398391
[doctest] test cases: 108 | 108 passed | 0 failed | 0 skipped
399-
[doctest] assertions: 2115 | 2115 passed | 0 failed |
392+
[doctest] assertions: 2116 | 2115 passed | 0 failed |
400393
[doctest] Status: SUCCESS!
401394
```
402395

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ template <bool W1, floating_point_scalar T, std::size_t C, typename D1, bool W2,
22002200
##### ```byteswap```
22012201
```c++
22022202
template <bool W, non_bool_scalar T, std::size_t C, typename D>
2203-
[[nodiscard]] inline auto byteswap(const vector_base<W, T, C, D> &x) noexcept;
2203+
[[nodiscard]] inline auto byteswap(const vector_base<W, T, C, D> &arg) noexcept;
22042204
```
22052205
Not in GLSL. This functionality was added to ```c++23```, but since this is a ```c++20``` library, we have to provide the underlying implementation ourselves.
22062206

0 commit comments

Comments
 (0)