示例#1
0
        protected override void CreateGeosphereInternal(Device device, float radius, SubdivisionCount numSubdivisions)
        {
            var geosphere = GeometryGenerator.CreateGeosphere(radius, numSubdivisions);

            InitFromMeshData(device, geosphere);
            _meshCount = 1;
        }
示例#2
0
        public override void CreateGeosphere(Device device, float radius, GeometryGenerator.SubdivisionCount numSubdivisions)
        {
            var geosphere = GeometryGenerator.CreateGeosphere(radius, numSubdivisions);

            InitFromMeshData(device, geosphere);
        }