示例#1
0
// c converts Layers to c.cpLayers.
func (l Layers) c() C.cpLayers {
	return C.cpLayers(l)
}
示例#2
0
文件: chipmunk.go 项目: andrebq/exp
func (s *Shape) SetLayers(layer Layer) {
	C.cpShapeSetLayers(s.shape, C.cpLayers(C.uint(layer)))
}