Add basic geometry primitives and x3d debug support.