Skip to content

Bug in bullet header #371

@Xrysnow

Description

@Xrysnow

The macro

#define SIMD_2_PI btScalar(2.0) * SIMD_PI

is missing parentheses, and therefore
#define SIMD_DEGS_PER_RAD (btScalar(360.0) / SIMD_2_PI)

and
SIMD_FORCE_INLINE btScalar btDegrees(btScalar x) { return x * SIMD_DEGS_PER_RAD; }

are totally wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions