Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in "'castShape' functions #280

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src.ts/geometry/collider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ export class Collider {
* limits the distance traveled by the shape to `collider1Vel.norm() * maxToi`.
* @param stopAtPenetration - If set to `false`, the linear shape-cast won’t immediately stop if
* the shape is penetrating another shape at its starting point **and** its trajectory is such
* that it’s on a path to exist that penetration state.
* that it’s on a path to exit that penetration state.
*/
public castShape(
collider1Vel: Vector,
Expand Down Expand Up @@ -901,7 +901,7 @@ export class Collider {
* limits the distance traveled by the shape to `shapeVel.norm() * maxToi`.
* @param stopAtPenetration - If set to `false`, the linear shape-cast won’t immediately stop if
* the shape is penetrating another shape at its starting point **and** its trajectory is such
* that it’s on a path to exist that penetration state.
* that it’s on a path to exit that penetration state.
*/
public castCollider(
collider1Vel: Vector,
Expand Down
2 changes: 1 addition & 1 deletion src.ts/geometry/shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export abstract class Shape {
* @param maxToi - The maximum time when the impact can happen.
* @param stopAtPenetration - If set to `false`, the linear shape-cast won’t immediately stop if
* the shape is penetrating another shape at its starting point **and** its trajectory is such
* that it’s on a path to exist that penetration state.
* that it’s on a path to exit that penetration state.
* @returns If the two moving shapes collider at some point along their trajectories, this returns the
* time at which the two shape collider as well as the contact information during the impact. Returns
* `null`if the two shapes never collide along their paths.
Expand Down
2 changes: 1 addition & 1 deletion src.ts/pipeline/query_pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export class QueryPipeline {
* limits the distance traveled by the shape to `shapeVel.norm() * maxToi`.
* @param stopAtPenetration - If set to `false`, the linear shape-cast won’t immediately stop if
* the shape is penetrating another shape at its starting point **and** its trajectory is such
* that it’s on a path to exist that penetration state.
* that it’s on a path to exit that penetration state.
* @param groups - The bit groups and filter associated to the shape to cast, in order to only
* test on colliders with collision groups compatible with this group.
*/
Expand Down
2 changes: 1 addition & 1 deletion src.ts/pipeline/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ export class World {
* limits the distance traveled by the shape to `shapeVel.norm() * maxToi`.
* @param stopAtPenetration - If set to `false`, the linear shape-cast won’t immediately stop if
* the shape is penetrating another shape at its starting point **and** its trajectory is such
* that it’s on a path to exist that penetration state.
* that it’s on a path to exit that penetration state.
* @param groups - The bit groups and filter associated to the shape to cast, in order to only
* test on colliders with collision groups compatible with this group.
*/
Expand Down
Loading