Browse Source

More documentation.

pull/1/head
Sam Hocevar 4 years ago
parent
commit
3ec1806d3e
1 changed files with 24 additions and 24 deletions
  1. +24
    -24
      README.md

+ 24
- 24
README.md View File

@@ -3,47 +3,47 @@

The header-only part of the Lol Engine framework.

## Sytem headers
## Containers

| header | description | examples |
|--------|-------------|----------|
| `<lol/cli>` | command-line parsing (imported from [cliutils/cli11](https://github.com/CLIUtils/CLI11)) | |
| `<lol/dialogs>` | portable file dialogs (imported from [samhocevar/portable-file-dialogs](https://github.com/samhocevar/portable-file-dialogs)) | |
| `<lol/file>` | file reading utilities | |
| `<lol/msg>` | simple message logging | |
| `<lol/thread>` | threading and timers | |
| `<lol/unit_test>` | unit test framework | |
| `<lol/utils>` | various utilities: environment variables, string formatting, std::map and std::vector extensions… | |
| `<lol/narray>` | n-dimensional dynamic array containers | ● `lol::narray<int, 4>`<br>● `lol::array2d<float>`, `lol::array3d<uint8_t>`<br>● `lol::narray_view<int, 4>`<br>● `lol::array2d_view<uint8_t>`, `lol::array3d_view<float>` |

## Containers
## Math

| header | description | examples |
|--------|-------------|----------|
| `<lol/narray>` | n-dimensional dynamic array containers | ● `lol::narray<T, dimensions>`<br>● `lol::array2d<T>` and `lol::array3d<T>`<br>● `lol::narray_view<T, dimensions>`<br>● `lol::array2d_view<T>` and `lol::array3d_view<T>` |
| `<lol/bigint>` | big integer calculations | |
| `<lol/half>` | half-precision (16-bit) floating point numbers | `lol::half x = 2, y = 3;`<br>`x /= y;`<br>`float z = x;` |
| `<lol/math>` | math constants, functions, random number generators, polynomials | |
| `<lol/noise>` | Perlin and simplex noise | |
| `<lol/real>` | arbitrary precision floating point numbers | |
| `<lol/transform>` | quaternion, matrix and SQT transformation utilities | |
| `<lol/vector>` | GLSL-compatible vector classes | ● `lol::vec2`, `lol::vec3`, `lol::vec4`<br>● `lol::ivec2`, `lol::ivec3`, `lol::ivec4`<br>● also: `lol::u8vec3`, `lol::f16vec4`, `lol::vec7`, `lol::ivec11`…<br>● swizzling: `v1 = v2.xyy;`, `v2 += v3.bgr;a`<br>● functions: `dot()`, `length()`, `min()`, `clamp()`… |

## Text utilities
## Sytem

| header | description | examples |
|--------|-------------|----------|
| `<lol/pegtl>` | the PEGTL parsing library (imported from [taocpp/pegtl](https://github.com/taocpp/PEGTL)) | |
| `<lol/algo/suffix_array>` | suffix array library (imported from [storm-ptr/step](https://github.com/storm-ptr/step)) | |
| `<lol/cli>` | command-line parsing (imported from [cliutils/cli11](https://github.com/CLIUtils/CLI11)) | |
| `<lol/dialogs>` | portable file dialogs (imported from [samhocevar/portable-file-dialogs](https://github.com/samhocevar/portable-file-dialogs)) | |
| `<lol/file>` | file reading utilities | ● `lol::read(filename, data)` for any `std::string` or `std::vector`<br>● `lol::write(filename, data)` |
| `<lol/msg>` | simple message logging | ● `lol::msg::info("hello\n");`<br>● `lol::msg::debug("%d %d\n", x, y);`<br>● also `lol::msg::error`, `lol::msg::warn` |
| `<lol/thread>` | threading and timing | ● `lol::thread`<br>● `lol::queue<int, 200>` (thread-safe FIFO queue)<br>● `lol::timer` (high precision timer) |
| `<lol/unit_test>` | unit test framework | |
| `<lol/utils>` | various utilities: environment variables, string formatting, std::map and std::vector extensions… | |

## Graphics
## Text utilities

| header | description | examples |
|--------|-------------|----------|
| `<lol/color>` | colorspace conversions (RGB, sRGB, HSV…) | |
| `<lol/image>` | image loading, saving, and processing | |
| `<lol/pegtl>` | the PEGTL parser (imported from [taocpp/pegtl](https://github.com/taocpp/PEGTL)) | |
| `<lol/algo/suffix_array>` | suffix array for fast string searches (imported from [storm-ptr/step](https://github.com/storm-ptr/step)) | |

## Math
## Graphics

| header | description | examples |
|--------|-------------|----------|
| `<lol/bigint>` | big integer calculations | |
| `<lol/half>` | half-precision (16-bit) floating point numbers | |
| `<lol/math>` | math constants, functions, random number generators, polynomials | |
| `<lol/noise>` | Perlin and simplex noise | |
| `<lol/real>` | arbitrary precision floating point numbers | |
| `<lol/transform>` | quaternion, matrix and SQT transformation utilities | |
| `<lol/vector>` | GLSL-compatible vector classes | |
| `<lol/color>` | colorspace conversions (RGB, sRGB, HSV…) | |
| `<lol/image>` | image loading, saving, and processing | |


Loading…
Cancel
Save