proto
PROTO asphere [
field SFInt32 nlatitude 16
field SFInt32 nlongitude 16
field SFFloat creaseAngle 3.14
]
{
DEF IFS IndexedFaceSet {
coord DEF C Coordinate { }
texCoord DEF TC TextureCoordinate { }
creaseAngle IS creaseAngle
}
DEF S Script {
field SFInt32 nlat IS nlatitude
field SFInt32 nl IS nlongitude
##eventOut MFVec3f c
eventOut MFVec3f c
eventOut MFVec2f tc
eventOut MFInt32 ci