Exemplo n.º 1
0
        protected override void CreateGeosphereInternal(Device device, float radius, SubdivisionCount numSubdivisions)
        {
            var geosphere = GeometryGenerator.CreateGeosphere(radius, numSubdivisions);

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

            InitFromMeshData(device, geosphere);
        }