浏览代码

more Geometry/BufferGeometry cleanup

Gregg Tavares 4 年之前
父节点
当前提交
e19bbd1107
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 0 1
      Gruntfile.js
  2. 4 0
      threejs/lessons/threejs-custom-geometry.md

+ 0 - 1
Gruntfile.js

@@ -195,7 +195,6 @@ module.exports = function(grunt) {
       DirectGeometry: 'https://threejs.org/docs/#api/core/DirectGeometry',
       DirectGeometry: 'https://threejs.org/docs/#api/core/DirectGeometry',
       EventDispatcher: 'https://threejs.org/docs/#api/core/EventDispatcher',
       EventDispatcher: 'https://threejs.org/docs/#api/core/EventDispatcher',
       Face3: 'https://threejs.org/docs/#api/core/Face3',
       Face3: 'https://threejs.org/docs/#api/core/Face3',
-      Geometry: 'https://threejs.org/docs/#api/core/Geometry',
       InstancedBufferAttribute: 'https://threejs.org/docs/#api/core/InstancedBufferAttribute',
       InstancedBufferAttribute: 'https://threejs.org/docs/#api/core/InstancedBufferAttribute',
       InstancedBufferGeometry: 'https://threejs.org/docs/#api/core/InstancedBufferGeometry',
       InstancedBufferGeometry: 'https://threejs.org/docs/#api/core/InstancedBufferGeometry',
       InstancedInterleavedBuffer: 'https://threejs.org/docs/#api/core/InstancedInterleavedBuffer',
       InstancedInterleavedBuffer: 'https://threejs.org/docs/#api/core/InstancedInterleavedBuffer',

+ 4 - 0
threejs/lessons/threejs-custom-geometry.md

@@ -2,6 +2,10 @@ Title: Three.js Custom Geometry
 Description: How to make your own geometry.
 Description: How to make your own geometry.
 TOC: Custom Geometry
 TOC: Custom Geometry
 
 
+> **NOTE!** This article is deprecated. Three.js r125
+> removed support for `Geometry`. Please refer to
+> the article on [custom BufferGeometry](threejs-custom-buffergeometry.html).
+
 A [previous article](threejs-primitives.html) gave a tour of
 A [previous article](threejs-primitives.html) gave a tour of
 the various built in primitives included in THREE.js. In this
 the various built in primitives included in THREE.js. In this
 article we'll cover making our own geometry.
 article we'll cover making our own geometry.