Skip to content

Commit

Permalink
v1.0.3 (#14)
Browse files Browse the repository at this point in the history
* fix: color_t values are now uint8_t (#11)

* chore: add `GNU GPLv3` license

* #12: refactor(color_t): color_t struct refactoring

* refactor(color_t): remove some leftovers

* #12: refactor(vec_t): remove stupid intrins

* #12: refactor(client_class): change callback types decl

* refactor(cfg): remove some leftovers

* feat: removed asm math in place of std:: (#15)

* feat: removed asm math in place of std::

* refactor: use the standard library for constant definitions

* #18: refactor(util): remove unused `MATH_PI` macro

* #13: feat: added a safe_cast implementation (#16)

* feat: added a safe_cast implementation

* fix: typo in safe_cast

* fix(util): forward template arg in is_safe_castable concept

* style(util): reformat

* perf: replaces static_cast with safe_cast

* chore: remove wrong todo comment

* build: add cmake build system (#19)

* feat(build): add cmake build system

* build(cmake): add `/MP`

* docs(readme): minor `Building` section reformat

* build: move sln to a separate `msvc` dir

* docs(readme): update `Special thanks` section

* docs(readme): update msvc building section

* fix(math): fix math compilation error

* fix(safe_cast): fix safe_cast template parameters, limits

* fix(color_t): fix from_hsb casting

* fix(color_t): from_hsb f/p/q/t are not constexpr

* refactor(cfg): add `push_packed_vars` method

* refactor(portals): add `e_identifier` enum

* refactor(clamp_cast): rename from `safe_cast` to `clamp_cast`

---------

Co-authored-by: Igor <100174039+kehrazy@users.noreply.github.com>
Co-authored-by: Igor Fedenko <kehrazybox@gmail.com>
  • Loading branch information
3 people authored Jun 14, 2023
1 parent 823110d commit d9bd832
Showing 26 changed files with 1,699 additions and 554 deletions.
9 changes: 4 additions & 5 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# es3n1n's clang-format, last upd 13 aug 2022 23:07:09
# es3n1n's clang-format, last upd 13 may 2023 17:45:37
---
AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left
@@ -20,7 +20,7 @@ BasedOnStyle: WebKit
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: None
BraceWrapping:
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
@@ -57,7 +57,7 @@ ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
EmptyLineBeforeAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
@@ -107,5 +107,4 @@ SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Latest
TabWidth: 8
UseCRLF: false
...
UseCRLF: false
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# cmkr
/**/CMakeLists.txt linguist-generated
/**/cmkr.cmake linguist-vendored
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -349,3 +349,10 @@ MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
/enc_temp_folder

# cmkr
build/
cmake-build-debug/
build/


219 changes: 219 additions & 0 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Oops, something went wrong.

0 comments on commit d9bd832

Please sign in to comment.