Skip to content

Commit b7670dd

Browse files
authored
Merge pull request #171 from whaqzhzd/master
Fix incorrect return type of isCcdEnabled method
2 parents 18ced6c + 0bd89f6 commit b7670dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src.ts/dynamics/rigid_body.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,8 @@ export class RigidBody {
512512
/**
513513
* Is CCD enabled for this rigid-body?
514514
*/
515-
public isCcdEnabled() {
516-
this.rawSet.rbIsCcdEnabled(this.handle);
515+
public isCcdEnabled(): boolean {
516+
return this.rawSet.rbIsCcdEnabled(this.handle);
517517
}
518518

519519
/**

0 commit comments

Comments
 (0)