Skip to content

Conversation

@TheBlek
Copy link
Contributor

@TheBlek TheBlek commented May 28, 2024

No description provided.

@TheBlek TheBlek requested a review from ZuZKho May 28, 2024 18:24
Object chairObj = newDynamicBody(chTransform, chair,
new Collider{Collider::GetDefaultAABB(&chair->meshes[0]), Collider::Layer1 | Collider::Layer4},
new RigidBody(1.0f, IBodyOBB(Vec3(0), 20.f), 0.2f, Vec3(0, -gravity, 0), 1.0f, slidingFriction));
new RigidBody(1.0f, IBodyOBB(Vec3(0), 20.f), 0.2f, Vec3(0, -gravity, 0), 1.0f, TypeFriction::SlidingFriction));

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Lines should be <= 110 characters long [whitespace/line_length] [2]

model->setMaterial(sphereMaterial);

Collider *collider = new Collider{Sphere{Vec3(0.0), 1.0}, Collider::Layer1 | Collider::Layer2};
Collider *collider = new Collider{Sphere{Vec3(0.0), 1.0}, Collider::Layer1 | Collider::Layer2 | Collider::Layer5 | Collider::Layer6};

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Lines should be <= 110 characters long [whitespace/line_length] [2]

float floor_friction = 0.16f;
float floor_bounciness = 0.1f;
float holes_bounciness = 0.3f;
float walls_bounciness = 0.8f;

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]

Copy link
Contributor

@solloball solloball left a comment

Choose a reason for hiding this comment

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

крутооо

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.

3 participants