Klebert-Engineering / simfil

The Simple Map Filter Language Interpreter 🌳.
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Allow constructing a point from any object with x/y/z members. #60

Closed josephbirkner closed 11 months ago

josephbirkner commented 11 months ago

Interfacing with simfil points is a bit cumbersome, as there are no useful constructors defined. This PR bumps simfils C++ requirement to 20, and uses concepts to define a constructor which can take any object with x/y(/z) members, such as a glm vector.

github-actions[bot] commented 11 months ago

Test Results

βŸβ€„1 files  Β±0β€‚β€ƒβŸβ€„1 suites  Β±0   10s :stopwatch: Β±0s 40 tests Β±0  40 :heavy_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0  41 runs  Β±0  41 :heavy_check_mark: Β±0  0 :zzz: Β±0  0 :x: Β±0 

Results for commit f1eea784. ± Comparison against base commit 7969b196.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 11 months ago
Package Line Rate Branch Rate Health
include.simfil 54% 37% βž–
include.simfil.model 73% 63% βž–
src 63% 35% βž–
src.model 78% 44% βž–
Summary 65% (2313 / 3541) 37% (1940 / 5212) βž–

Minimum allowed line rate is 50%