Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created October 22, 2009 07:58
Show Gist options
  • Save defunkt/215816 to your computer and use it in GitHub Desktop.
Save defunkt/215816 to your computer and use it in GitHub Desktop.

Revisions

  1. defunkt created this gist Oct 22, 2009.
    8 changes: 8 additions & 0 deletions gistfile1.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    Vector3f: class {
    x, y, z : Float
    }

    vec := Vector3f new()
    vec x = 3.14
    vec y = 6.18
    vec z = 42.0 // hey, Java/C/C++/C# guys: look! no dots =)