Skip to content

Separate table collidersv2#89

Open
TheBlek wants to merge 3 commits into
gamefrom
separate_table_collidersv2
Open

Separate table collidersv2#89
TheBlek wants to merge 3 commits into
gamefrom
separate_table_collidersv2

Conversation

@TheBlek

@TheBlek TheBlek commented May 28, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@TheBlek
TheBlek requested a review from ZuZKho May 28, 2024 18:24
Comment thread src/game/main.cpp
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));

Copy link
Copy Markdown

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]

Comment thread src/game/pool.cpp
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};

Copy link
Copy Markdown

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]

Comment thread src/game/pool.cpp
float floor_friction = 0.16f;
float floor_bounciness = 0.1f;
float holes_bounciness = 0.3f;
float walls_bounciness = 0.8f;

Copy link
Copy Markdown

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]

@solloball solloball left a comment

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.

крутооо

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.

2 participants