Skip to content

Fix Soft Body conversion to a smaller type warning#4766

Open
madmiraal wants to merge 1 commit intobulletphysics:masterfrom
madmiraal:fix-conversion-to-smaller-type-warning
Open

Fix Soft Body conversion to a smaller type warning#4766
madmiraal wants to merge 1 commit intobulletphysics:masterfrom
madmiraal:fix-conversion-to-smaller-type-warning

Conversation

@madmiraal
Copy link

Currently, when compiling with MSVC 19, I get a C4305 level 1 warning:

src\BulletSoftBody\btSoftBody.h(38): warning C4305: 'initializing': truncation from 'double' to 'btScalar'

This PR fixes the issue by using a float literal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant