Skip to content

Instantly share code, notes, and snippets.

@nddrylliog
Forked from defunkt/gist:215816
Created October 22, 2009 08:32
Show Gist options
  • Save nddrylliog/215832 to your computer and use it in GitHub Desktop.
Save nddrylliog/215832 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