-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added cdt, delaunaytest, and debugdraw
- Loading branch information
Showing
707 changed files
with
101,189 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "dnpch.h" | ||
|
||
#include "DebugDraw.h" | ||
|
||
namespace Duin | ||
{ | ||
void DebugDraw::DrawLine(int x1, int y1, int x2, int y2, Color color) | ||
{ | ||
::Color rlColor = { color.r, color.g, color.b, color.a }; | ||
::DrawLine(x1, y1, x2, y2, rlColor); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
|
||
#include "Duin/Core/Core.h" | ||
#include "Duin/Core/Structures/RenderStructs.h" | ||
|
||
#include <RLImGuiComponent.h> | ||
|
||
namespace Duin | ||
{ | ||
class DUIN_API DebugDraw | ||
{ | ||
public: | ||
static void DrawLine(int x1, int y1, int x2, int y2, Color color); | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#pragma once | ||
|
||
#include "Duin/Core/Core.h" | ||
|
||
#include <CDT.hpp> | ||
|
||
namespace Duin | ||
{ | ||
class DUIN_API Delauney | ||
{ | ||
public: | ||
|
||
private: | ||
|
||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# ================================ | ||
# Can be used when needed locally: | ||
# ================================ | ||
SortIncludes: true | ||
SortUsingDeclarations: true | ||
|
||
AccessModifierOffset: -4 | ||
AlignAfterOpenBracket: AlwaysBreak | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
BreakConstructorInitializersBeforeComma: true | ||
ColumnLimit: 80 | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
IndentWidth: 4 | ||
Language: Cpp | ||
NamespaceIndentation: None | ||
SpaceBeforeParens: Never | ||
SpacesBeforeTrailingComments: 1 | ||
Standard: Cpp03 | ||
UseTab: Never | ||
|
||
# ===================== | ||
# Clang 5 new features: | ||
# ===================== | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: true | ||
AfterEnum : true | ||
AfterFunction : true | ||
AfterNamespace : true | ||
AfterStruct : true | ||
AfterUnion : true | ||
BeforeCatch : true | ||
BeforeElse : true | ||
IndentBraces : false | ||
SplitEmptyFunction: false | ||
SplitEmptyRecord: false | ||
SplitEmptyNamespace: true | ||
BreakBeforeInheritanceComma: true | ||
FixNamespaceComments: true | ||
ReflowComments: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# This file is used to ignore files which are generated | ||
# ---------------------------------------------------------------------------- | ||
|
||
build/ | ||
cmake-build*/ | ||
*~ | ||
*.autosave | ||
*.a | ||
*.core | ||
*.moc | ||
*.o | ||
*.obj | ||
*.orig | ||
*.rej | ||
*.so | ||
*.so.* | ||
*_pch.h.cpp | ||
*_resource.rc | ||
*.qm | ||
.#* | ||
*.*# | ||
core | ||
!core/ | ||
tags | ||
.DS_Store | ||
.directory | ||
*.debug | ||
Makefile* | ||
*.prl | ||
*.app | ||
moc_*.cpp | ||
ui_*.h | ||
qrc_*.cpp | ||
Thumbs.db | ||
*.res | ||
*.rc | ||
/.qmake.cache | ||
/.qmake.stash | ||
|
||
# qtcreator generated files | ||
*.pro.user* | ||
|
||
# xemacs temporary files | ||
*.flc | ||
|
||
# Vim temporary files | ||
.*.swp | ||
|
||
# Visual Studio generated files | ||
*.ib_pdb_index | ||
*.idb | ||
*.ilk | ||
*.pdb | ||
*.sln | ||
*.suo | ||
*.vcproj | ||
*vcproj.*.*.user | ||
*.ncb | ||
*.sdf | ||
*.opensdf | ||
*.vcxproj | ||
*vcxproj.* | ||
|
||
# MinGW generated files | ||
*.Debug | ||
*.Release | ||
|
||
# Python byte code | ||
*.pyc | ||
|
||
# Binaries | ||
# -------- | ||
*.dll | ||
*.exe | ||
|
||
# xcode | ||
*.xcode* | ||
# moc | ||
moc_*.h | ||
|
||
# CLion | ||
*.idea* | ||
|
||
# Visual code files | ||
*.code-workspace | ||
*.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "CDT/tests/Catch2"] | ||
path = CDT/tests/Catch2 | ||
url = https://github.com/catchorg/Catch2.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
artem-ogre <[email protected]> <[email protected]> | ||
artem-ogre <[email protected]> <[email protected]> | ||
artem-ogre <[email protected]> <artem> | ||
kalleakerblom <[email protected]> <[email protected]> |
Oops, something went wrong.