-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduction of a Hexagon Cell Grid in the GridMap node #822
Open
Wasabi-Cheetah
wants to merge
10
commits into
Redot-Engine:master
Choose a base branch
from
Wasabi-Cheetah:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,135
−511
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
97ed795
Update math_defs.h
Wasabi-Cheetah b76dc2c
Update GridMap.xml
Wasabi-Cheetah 9a2b734
Update grid_map_editor_plugin.cpp
Wasabi-Cheetah 96a321d
Update grid_map_editor_plugin.h
Wasabi-Cheetah b98ede7
Update grid_map.cpp
Wasabi-Cheetah 3d8dfd3
Update grid_map.h
Wasabi-Cheetah 7b0fe1d
Update grid_map.cpp
Wasabi-Cheetah 46d15d7
Update grid_map.cpp
Wasabi-Cheetah e2a18fe
Update grid_map_editor_plugin.h
Wasabi-Cheetah ea47d0c
Merge branch 'Redot-Engine:master' into master
Wasabi-Cheetah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,9 @@ | |
/**************************************************************************/ | ||
/* This file is part of: */ | ||
/* REDOT ENGINE */ | ||
/* https://redotengine.org */ | ||
/* https://www.redotengine.org/ */ | ||
/**************************************************************************/ | ||
/* Copyright (c) 2024-present Redot Engine contributors */ | ||
/* (see REDOT_AUTHORS.md) */ | ||
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ | ||
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ | ||
/* Copyright © 2024-present by the Redot community. */ | ||
/* */ | ||
/* Permission is hereby granted, free of charge, to any person obtaining */ | ||
/* a copy of this software and associated documentation files (the */ | ||
|
@@ -29,6 +26,9 @@ | |
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ | ||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ | ||
/**************************************************************************/ | ||
/* Work done by Octetdev2 and BSChad. */ | ||
/* Merging done by Wasabi_Cheetah. */ | ||
/**************************************************************************/ | ||
|
||
#ifndef MATH_DEFS_H | ||
#define MATH_DEFS_H | ||
|
@@ -41,6 +41,7 @@ | |
|
||
#define Math_SQRT12 0.7071067811865475244008443621048490 | ||
#define Math_SQRT2 1.4142135623730950488016887242 | ||
#define Math_SQRT3 1.7320508075688772935274463415059 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a trivial math change, it does not need attribution. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, thanks for letting me know, wanted to be thorough. |
||
#define Math_LN2 0.6931471805599453094172321215 | ||
#define Math_TAU 6.2831853071795864769252867666 | ||
#define Math_PI 3.1415926535897932384626433833 | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About this, we can see what the rest of the team says.
But for future references, this is generally not a good practice to add credits to the preamble, if we allowed one person to do this everyone would want to do it and then suddenly you have 100 names in the preamble.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authors are supposed to be added to the commit message anyway, like what I did with 2d1c65b for WhalesState, but this won't be merged anyway cause the Godot PR is still WIP.