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.
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 =)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment