from panda3dcore import GeomVertexFormat GeomVertexData Geom GeomNode GeomVertexReader Point3 Vec3from panda3dcore import LPoint3 LVector3 LPlane PlaneNode Planedef is_point_in_shapepoint shape # 创
It seems like there is a typo in the code. The correct class name is GeomVertexArrayFormat, not GeomVertexArrayFormat. Please change the following line:
vertex_array = GeomVertexArrayFormat()
to:
vertex_array = GeomVertexFormat()
原文地址: http://www.cveoy.top/t/topic/hLHa 著作权归作者所有。请勿转载和采集!