-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff07e3e
commit 62a3146
Showing
8 changed files
with
393 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
fn wave(limb: string, joint: number, amount: number) : "Wave a hand back and forth" { | ||
/*fn wave(limb: string, joint: number, amount: number) : "Wave a hand back and forth" { | ||
let pos = get_position(limb: limb, joint: joint); | ||
let pos = set_position(limb: limb, joint: joint, pos: pos + amount); | ||
let pos = set_position(limb: limb, joint: joint, pos: pos - amount); | ||
return pos; | ||
} | ||
}*/ | ||
|
||
fn main() : "Wave a hand back and forth a few times" { | ||
wave(limb: "right_arm", joint: 0, amount: 45deg); | ||
//wave(limb: "right_arm", joint: 0, amount: 45deg); | ||
return true ? (3 + 2) : "yes"; | ||
} |
Oops, something went wrong.