Updated TorusPrimitive example