Skip to content

Commit

Permalink
Forgot one file for 0.8 :)
Browse files Browse the repository at this point in the history
git-svn-id: https://scrat.svn.sourceforge.net/svnroot/scrat/trunk@14 17df20b9-c460-4d53-a56e-632d1712e828
  • Loading branch information
toji committed Sep 20, 2009
1 parent 310d77f commit dc73621
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sqrattest/scripts/samplemodule.nut
@@ -0,0 +1,9 @@
PI <- 3.1415;

function RectArea(w, h) {
return w * h;
}

function CircleArea(radius) {
return PI * (radius * radius);
}

0 comments on commit dc73621

Please sign in to comment.