Skip to content

Fill in remaining C++ samples and tests that were blocked by lack of Box2D#3351

Merged
Wumpf merged 11 commits intomainfrom
andreas/cpp-fix-box-blocked
Sep 19, 2023
Merged

Fill in remaining C++ samples and tests that were blocked by lack of Box2D#3351
Wumpf merged 11 commits intomainfrom
andreas/cpp-fix-box-blocked

Conversation

@Wumpf
Copy link
Copy Markdown
Member

@Wumpf Wumpf commented Sep 18, 2023

@Wumpf Wumpf added 📖 documentation Improvements or additions to documentation 🔨 testing testing and benchmarks sdk-cpp C/C++ API specific labels Sep 18, 2023
@Wumpf Wumpf force-pushed the andreas/cpp-fix-box-blocked branch 3 times, most recently from ca78334 to b8f4d7e Compare September 18, 2023 21:06
@teh-cmc teh-cmc self-requested a review September 19, 2023 06:31
Copy link
Copy Markdown
Contributor

@teh-cmc teh-cmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niceee!

Comment on lines +25 to +29
// TODO(andreas): This constant initialization does not work for unknown reasons!
// On clang(-mac) this set the Rotation3D::IDENTITY to all zero instead of
// the expected quaternion.
// Using the same code as a non-constant works fine.
// const Rotation3DExt Rotation3DExt::IDENTITY = Quaternion::IDENTITY;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oO

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wth

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I poked it for quite a while but couldn't figure it out, so I gave up for now :(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rotation is a union type to I reviewed that again, but can't see what's wrong with it

@Wumpf Wumpf force-pushed the andreas/cpp-fix-box-blocked branch from b8f4d7e to 7f10907 Compare September 19, 2023 08:18
@Wumpf Wumpf merged commit 2004ab7 into main Sep 19, 2023
@Wumpf Wumpf deleted the andreas/cpp-fix-box-blocked branch September 19, 2023 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📖 documentation Improvements or additions to documentation sdk-cpp C/C++ API specific 🔨 testing testing and benchmarks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Point{2|3}D migration to archetypes Linestrip{2|3}D migration to archetypes Rect2D+Box3D migration to archetypes

3 participants