Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f976272

Browse files
authored
Merge pull request #49 from henriksod/angular_constraints
Add angular constraints functionality
2 parents b5d14bd + b2c69a3 commit f976272

File tree

6 files changed

+382
-299
lines changed

6 files changed

+382
-299
lines changed

.clang-format

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
BasedOnStyle: Google
2+
AccessModifierOffset: -3
3+
AllowShortCaseLabelsOnASingleLine: true
4+
AllowShortFunctionsOnASingleLine: Inline
5+
ColumnLimit: 100
6+
IndentWidth: 4
7+
Language: Cpp
8+
# Force pointers to the type for C++.
9+
DerivePointerAlignment: false
10+
PointerAlignment: Left

.github/workflows/test_runner.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,21 @@ jobs:
1616
compliance: strict
1717
recursive: true
1818
project-type: library
19-
cpplint:
19+
formatting-check:
20+
name: Formatting Check
2021
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
path:
25+
- 'src'
2126
steps:
2227
- uses: actions/checkout@v4
23-
- uses: actions/setup-python@v5
24-
- run: pip install cpplint
25-
- run: cpplint --recursive ./src
28+
- name: Run clang-format style check for C/C++/Protobuf programs.
29+
uses: jidicula/[email protected]
30+
with:
31+
clang-format-version: '13'
32+
check-path: ${{ matrix.path }}
33+
fallback-style: 'Google' # optional
2634
unit:
2735
runs-on: ubuntu-latest
2836
steps:

.wordlist.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ destructor
4141
getTolerance
4242
resetChain
4343
deleteChain
44-
Deallocates
44+
Deallocates
45+
angleBetween
46+
applyAngularConstraints

0 commit comments

Comments
 (0)