Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8c3e045
Project restructuring for easier testing
ASchuberth Apr 18, 2025
2c05598
Fixed sketch grid and cleaned up Test CMakeLists
ASchuberth Apr 19, 2025
283c1e0
Added built-in baseline to vcpkg.json and
ASchuberth Apr 22, 2025
bfee9f9
Actions and ActionQueue
ASchuberth Apr 25, 2025
00bf9f6
Code Cleanup
ASchuberth Apr 29, 2025
eae2092
Merge branch 'testing' of https://github.com/ASchuberth/Cadera into t…
ASchuberth Apr 29, 2025
5634daf
Code clenaup and fixed Vulkan objects not being deleted
ASchuberth Apr 29, 2025
3abcd16
Appearance colors
ASchuberth May 1, 2025
8b8cace
Implemented Command and Mouse
ASchuberth May 9, 2025
355032c
Project Cleanup
ASchuberth May 11, 2025
32715e8
Project Cleanup (cont.)
ASchuberth May 12, 2025
0b9183d
Project Cleanup (cont.)
ASchuberth May 12, 2025
9bd8598
Rename uppercase file names to lowercase
ASchuberth May 12, 2025
bcf46de
Rename Cadera.cpp to cadera.cpp
ASchuberth May 12, 2025
c790a2d
Rename Main.cpp to main.cpp
ASchuberth May 12, 2025
bc0dc92
Rename Selection.hpp to selection.hpp
ASchuberth May 12, 2025
ff01152
Rename Selection.cpp to selection.cpp
ASchuberth May 12, 2025
b97b4cd
Rename TextRender.cpp to textrender.cpp
ASchuberth May 12, 2025
10f59ac
Rename TextRender.hpp to textrender.hpp
ASchuberth May 12, 2025
f40042b
Rename Camera.hpp to camera.hpp
ASchuberth May 12, 2025
388148d
Rename Camera.cpp to camera.cpp
ASchuberth May 12, 2025
f2ca5b5
Rename CADRender.hpp to cadrender.hpp
ASchuberth May 12, 2025
cf2bd36
Rename CADRender.cpp to cadrender.cpp
ASchuberth May 12, 2025
cfdb94b
Rename Feature.cpp to feature.cpp
ASchuberth May 12, 2025
2a4baba
Rename Feature.hpp to feature.hpp
ASchuberth May 12, 2025
2458648
Rename Model.cpp to model.cpp
ASchuberth May 12, 2025
2a539ec
Rename Model.hpp to model.hpp
ASchuberth May 12, 2025
938458c
Rename Point.hpp to point.hpp
ASchuberth May 12, 2025
0b869f9
Rename Point.cpp to point.cpp
ASchuberth May 12, 2025
d1fb072
Rename Relation.cpp to relation.cpp
ASchuberth May 12, 2025
626369a
Rename Relation.hpp to relation.hpp
ASchuberth May 12, 2025
bae46b7
Rename Sketch.cpp to sketch.cpp
ASchuberth May 12, 2025
1ad9f22
Rename Sketch.hpp to sketch.hpp
ASchuberth May 12, 2025
6a938a8
Rename SketchSolver.cpp to sketchsolver.cpp
ASchuberth May 12, 2025
6f9b8ae
Rename SketchSolver.hpp to sketchsolver.hpp
ASchuberth May 12, 2025
96caecb
Rename Sketcher.hpp to sketcher.hpp
ASchuberth May 12, 2025
e7c9996
Rename Sketcher.cpp to sketcher.cpp
ASchuberth May 12, 2025
7ece8c1
Merge pull request #14 from ASchuberth/rename
ASchuberth May 12, 2025
3382228
Fixed capitalization differences in filenames for includes and CMakeL…
ASchuberth May 12, 2025
86ccae1
Added MIT License
ASchuberth May 12, 2025
5e6e5cc
Merge branch 'testing' of https://github.com/ASchuberth/Cadera into t…
ASchuberth May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
292 changes: 292 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
---
Language: Cpp
AccessModifierOffset: 0
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: true
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortNamespacesOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
BinPackArguments: true
BinPackLongBracedList: true
BinPackParameters: BinPack
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: -1
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: None
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Attach
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTemplateCloser: false
BreakBeforeTernaryOperators: true
BreakBinaryOperations: Never
BreakConstructorInitializers: BeforeColon
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: MultiLine
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
EnumTrailingComma: Leave
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
CaseSensitive: false
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
CaseSensitive: false
- Regex: '.*'
Priority: 1
SortPriority: 0
CaseSensitive: false
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
IndentExportBlock: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 2
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: true
AtStartOfFile: true
KeepFormFeed: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeMemberAccess: 150
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: Always
RemoveBracesLLVM: false
RemoveEmptyLinesInUnwrappedLines: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Latest
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 8
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
WrapNamespaceBodyWithEmptyLines: Leave
...

5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ jobs:

brew install googletest

- name: Install Windows Dependencies
if: runner.os == 'Windows'
uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4


- uses: lukka/get-cmake@latest

- name: Prepare Vulkan SDK
Expand Down
39 changes: 15 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
/.vs
/Debug
/x64
*.sln
*.vcx*
/imgui
/packages
/Cadera
shaders/compile.bat
/.obsidian
*.spv
*.gfxr
*.ini
imgui.ini

# Visual Studio
*.code-workspace
.vscode/
*.spv
*.pdb

# Documentation Files
doc/Doxyfile
doc/html
*.code-workspace
doc/visuals/**/media/
doc/visuals/**/__pycache__/
*.drawio
*.pdb
vcpkg_installed/
src/ux/imnodes/
shaders/frag.spv
shaders/gridvert.spv
shaders/vert.spv

# Compiled Shaders
*.spv

# Config for Local File Paths
config.hpp

# Build Install Directories
build/
install/
install/

# Dear ImGui
imgui.ini
Loading
Loading