// vim: shiftwidth=4 tabstop=4 noexpandtab package main type Point struct { x float32 y float32 z float32 } type Triangle struct { a *Point b *Point c *Point } type Surface struct { triangles []*Triangle }