language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-billboard-labels-w-sprites.html | @@ -57,13 +57,13 @@
const bodyRadiusBottom = .2;
const bodyHeight = 2;
const bodyRadialSegments = 6;
- const bodyGeometry = new THREE.CylinderBufferGeometry(
+ const bodyGeometry = new THREE.CylinderGeometry(
bodyRadiusTop, bodyRadiusBottom, bodyHeight, bodyRadialSegments);
const headRadius = bod... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-billboard-trees-no-billboards.html | @@ -58,13 +58,13 @@
const trunkRadius = .2;
const trunkHeight = 1;
const trunkRadialSegments = 12;
- const trunkGeometry = new THREE.CylinderBufferGeometry(
+ const trunkGeometry = new THREE.CylinderGeometry(
trunkRadius, trunkRadius, trunkHeight, trunkRadialSegments);
const topRadius = trunkRadi... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-billboard-trees-static-billboards.html | @@ -57,13 +57,13 @@
const trunkRadius = .2;
const trunkHeight = 1;
const trunkRadialSegments = 12;
- const trunkGeometry = new THREE.CylinderBufferGeometry(
+ const trunkGeometry = new THREE.CylinderGeometry(
trunkRadius, trunkRadius, trunkHeight, trunkRadialSegments);
const topRadius = trunkRadi... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-logarithmic-depth-buffer.html | @@ -89,7 +89,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-orthographic-2-scenes.html | @@ -117,7 +117,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-orthographic-canvas-top-left-origin.html | @@ -61,7 +61,7 @@
loader.load('resources/images/flower-6.jpg'),
];
const planeSize = 256;
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planes = textures.map((texture) => {
const planePivot = new THREE... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-perspective-2-scenes.html | @@ -117,7 +117,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-perspective.html | @@ -87,7 +87,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-cameras-z-fighting.html | @@ -86,7 +86,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-canvas-textured-labels-one-canvas.html | @@ -57,16 +57,16 @@
const bodyRadiusBottom = .2;
const bodyHeight = 2;
const bodyRadialSegments = 6;
- const bodyGeometry = new THREE.CylinderBufferGeometry(
+ const bodyGeometry = new THREE.CylinderGeometry(
bodyRadiusTop, bodyRadiusBottom, bodyHeight, bodyRadialSegments);
const headRadius = bod... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-canvas-textured-labels-scale-to-fit.html | @@ -57,16 +57,16 @@
const bodyRadiusBottom = .2;
const bodyHeight = 2;
const bodyRadialSegments = 6;
- const bodyGeometry = new THREE.CylinderBufferGeometry(
+ const bodyGeometry = new THREE.CylinderGeometry(
bodyRadiusTop, bodyRadiusBottom, bodyHeight, bodyRadialSegments);
const headRadius = bod... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-canvas-textured-labels.html | @@ -57,16 +57,16 @@
const bodyRadiusBottom = .2;
const bodyHeight = 2;
const bodyRadialSegments = 6;
- const bodyGeometry = new THREE.CylinderBufferGeometry(
+ const bodyGeometry = new THREE.CylinderGeometry(
bodyRadiusTop, bodyRadiusBottom, bodyHeight, bodyRadialSegments);
const headRadius = bod... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-debug-js-clearing-logger.html | @@ -64,7 +64,7 @@
const scene = new THREE.Scene();
scene.background = new THREE.Color('cyan');
- const geometry = new THREE.SphereBufferGeometry();
+ const geometry = new THREE.SphereGeometry();
const material = new THREE.MeshBasicMaterial({color: 'red'});
const things = []; | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-debug-js-html-elements.html | @@ -51,7 +51,7 @@
const scene = new THREE.Scene();
scene.background = new THREE.Color('red');
- const geometry = new THREE.SphereBufferGeometry();
+ const geometry = new THREE.SphereGeometry();
const material = new THREE.MeshBasicMaterial({color: 'yellow'});
const mesh = new THREE.Mesh(geometry, mater... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-debug-js-params.html | @@ -113,7 +113,7 @@
const scene = new THREE.Scene();
scene.background = new THREE.Color('cyan');
- const geometry = new THREE.SphereBufferGeometry();
+ const geometry = new THREE.SphereGeometry();
const material = new THREE.MeshBasicMaterial({color: 'red'});
const things = []; | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-debugging-mcve.html | @@ -78,7 +78,7 @@
}
}
- const geometry = new THREE.BoxBufferGeometry(100, 100, 300);
+ const geometry = new THREE.BoxGeometry(100, 100, 300);
const material = new THREE.MeshBasicMaterial({color: 'cyan'});
const cars = [];
for (let i = 0; i < 10; ++i) { | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-indexed-textures-picking-and-highlighting.html | @@ -123,7 +123,7 @@
{
const loader = new THREE.TextureLoader();
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const indexTexture = loader.load('resources/data/world/country-index-texture.png', render);
indexTexture.minFi... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-indexed-textures-picking-debounced.html | @@ -124,7 +124,7 @@
{
const loader = new THREE.TextureLoader();
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const indexTexture = loader.load('resources/data/world/country-index-texture.png', render);
indexTexture.minFi... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-indexed-textures-picking.html | @@ -88,7 +88,7 @@
{
const loader = new THREE.TextureLoader();
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const indexTexture = loader.load('resources/data/world/country-index-texture.png', render);
indexTexture.minFilt... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-indexed-textures-random-colors.html | @@ -103,7 +103,7 @@
{
const loader = new THREE.TextureLoader();
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const indexTexture = loader.load('resources/data/world/country-index-texture.png', render);
indexTexture.minFi... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-ambient.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-directional-w-helper.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-directional.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-hemisphere.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-point-physically-correct.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-point.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-rectarea.html | @@ -57,7 +57,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshStandardMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lights-spot-w-helper.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-animated-cars.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-car-path-fixed.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-car-path.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-dump-scenegraph-extra.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-dump-scenegraph.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-rotate-cars-fixed.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-rotate-cars.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf-shadows.html | @@ -56,7 +56,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-gltf.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-auto-camera-xz.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 200;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-auto-camera.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-materials-fixed.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-materials-windmill2.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 200;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-materials.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-no-materials.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-load-obj-wat.html | @@ -54,7 +54,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-animated.html | @@ -103,7 +103,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({m... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-merged-vertexcolors.html | @@ -49,7 +49,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({map... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-merged.html | @@ -49,7 +49,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({map... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-morphtargets-w-colors.html | @@ -103,7 +103,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({m... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-morphtargets.html | @@ -103,7 +103,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({m... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-multiple-data-sets.html | @@ -70,7 +70,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({map... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-lots-of-objects-slow.html | @@ -48,7 +48,7 @@
{
const loader = new THREE.TextureLoader();
const texture = loader.load('resources/images/world.jpg', render);
- const geometry = new THREE.SphereBufferGeometry(1, 64, 32);
+ const geometry = new THREE.SphereGeometry(1, 64, 32);
const material = new THREE.MeshBasicMaterial({map... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-controls.html | @@ -91,7 +91,7 @@
const sceneInitFunctionsByName = {
'box': (elem) => {
const {scene, camera, controls} = makeScene(elem);
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-copy-canvas.html | @@ -89,7 +89,7 @@
const sceneInitFunctionsByName = {
'box': (elem) => {
const {scene, camera, controls} = makeScene(elem);
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-generic.html | @@ -85,7 +85,7 @@
{
const elem = document.querySelector('#box');
const {scene, camera} = makeScene();
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red'});
const mesh = new TH... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-selector.html | @@ -85,7 +85,7 @@
const sceneInitFunctionsByName = {
'box': () => {
const {scene, camera} = makeScene();
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red'});
const ... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-v1.html | @@ -79,7 +79,7 @@
function setupScene1() {
const sceneInfo = makeScene(document.querySelector('#box'));
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red'});
const mesh = new THR... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-v2.html | @@ -81,7 +81,7 @@
function setupScene1() {
const sceneInfo = makeScene(document.querySelector('#box'));
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red'});
const mesh = new THR... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-multiple-scenes-v3.html | @@ -81,7 +81,7 @@
function setupScene1() {
const sceneInfo = makeScene(document.querySelector('#box'));
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'red'});
const mesh = new THR... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-picking-raycaster-complex-geo.html | @@ -51,7 +51,7 @@
camera.add(light);
}
- const geometry = new THREE.SphereBufferGeometry(.6, 100, 100);
+ const geometry = new THREE.SphereGeometry(.6, 100, 100);
function rand(min, max) {
if (max === undefined) { | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-postprocessing-3dlut-identity.html | @@ -101,7 +101,7 @@
{
const loader = new THREE.TextureLoader();
bgTexture = loader.load('resources/images/beach.jpg');
- const planeGeo = new THREE.PlaneBufferGeometry(2, 2);
+ const planeGeo = new THREE.PlaneGeometry(2, 2);
const planeMat = new THREE.MeshBasicMaterial({
map: bgTexture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-postprocessing-3dlut-prep.html | @@ -51,7 +51,7 @@
{
const loader = new THREE.TextureLoader();
bgTexture = loader.load('resources/images/beach.jpg');
- const planeGeo = new THREE.PlaneBufferGeometry(2, 2);
+ const planeGeo = new THREE.PlaneGeometry(2, 2);
const planeMat = new THREE.MeshBasicMaterial({
map: bgTexture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-postprocessing-3dlut-w-loader.html | @@ -189,7 +189,7 @@
{
const loader = new THREE.TextureLoader();
bgTexture = loader.load('resources/images/beach.jpg');
- const planeGeo = new THREE.PlaneBufferGeometry(2, 2);
+ const planeGeo = new THREE.PlaneGeometry(2, 2);
const planeMat = new THREE.MeshBasicMaterial({
map: bgTexture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-postprocessing-3dlut.html | @@ -172,7 +172,7 @@
{
const loader = new THREE.TextureLoader();
bgTexture = loader.load('resources/images/beach.jpg');
- const planeGeo = new THREE.PlaneBufferGeometry(2, 2);
+ const planeGeo = new THREE.PlaneGeometry(2, 2);
const planeMat = new THREE.MeshBasicMaterial({
map: bgTexture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-postprocessing-adobe-lut-to-png-converter.html | @@ -91,7 +91,7 @@ <h1>Adobe LUT to PNG converter</h1>
idTexture.minFilter = THREE.NearestFilter;
{
- const planeGeo = new THREE.PlaneBufferGeometry(2, 2);
+ const planeGeo = new THREE.PlaneGeometry(2, 2);
const planeMat = new THREE.MeshBasicMaterial({
map: idTexture,
depthTest: false, | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-primitives-text.html | @@ -92,7 +92,7 @@
async function doit() {
const font = await loadFont('resources/threejs/fonts/helvetiker_regular.typeface.json'); /* threejsfundamentals: url */
- const geometry = new THREE.TextBufferGeometry('three.js', {
+ const geometry = new THREE.TextGeometry('three.js', {
font:... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-primitives.html | @@ -91,29 +91,29 @@
const width = 8;
const height = 8;
const depth = 8;
- addSolidGeometry(-2, 2, new THREE.BoxBufferGeometry(width, height, depth));
+ addSolidGeometry(-2, 2, new THREE.BoxGeometry(width, height, depth));
}
{
const radius = 7;
const segments = 24;
- addSolidGeome... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-car.html | @@ -54,15 +54,15 @@
const carHeight = 1;
const carLength = 8;
- const bodyGeometry = new THREE.BoxBufferGeometry(carWidth, carHeight, carLength);
+ const bodyGeometry = new THREE.BoxGeometry(carWidth, carHeight, carLength);
const bodyMaterial = new THREE.MeshPhongMaterial({color: 0x6688AA});
const bodyM... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth-moon-axes-grids.html | @@ -78,7 +78,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const solarSystem = new THREE.Object3D(); | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth-moon-axes.html | @@ -50,7 +50,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const solarSystem = new THREE.Object3D(); | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth-moon.html | @@ -50,7 +50,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const solarSystem = new THREE.Object3D(); | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth-orbit-fixed.html | @@ -50,7 +50,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const solarSystem = new THREE.Object3D(); | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth-orbit.html | @@ -50,7 +50,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const sunMaterial = new THREE.MeshPhongMaterial({emissive: 0xF... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun-earth.html | @@ -50,7 +50,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const sunMaterial = new THREE.MeshPhongMaterial({emissive: 0xF... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-sun.html | @@ -51,7 +51,7 @@
const radius = 1;
const widthSegments = 6;
const heightSegments = 6;
- const sphereGeometry = new THREE.SphereBufferGeometry(
+ const sphereGeometry = new THREE.SphereGeometry(
radius, widthSegments, heightSegments);
const sunMaterial = new THREE.MeshPhongMaterial({emissive: 0xF... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-scenegraph-tank.html | @@ -75,7 +75,7 @@
scene.add(light);
}
- const groundGeometry = new THREE.PlaneBufferGeometry(50, 50);
+ const groundGeometry = new THREE.PlaneGeometry(50, 50);
const groundMaterial = new THREE.MeshPhongMaterial({color: 0xCC8866});
const groundMesh = new THREE.Mesh(groundGeometry, groundMaterial);
g... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadertoy-basic-x40.html | @@ -37,7 +37,7 @@
1, // far
);
const scene = new THREE.Scene();
- const plane = new THREE.PlaneBufferGeometry(2, 2);
+ const plane = new THREE.PlaneGeometry(2, 2);
const fragmentShader = `
#include <common> | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadertoy-basic.html | @@ -37,7 +37,7 @@
1, // far
);
const scene = new THREE.Scene();
- const plane = new THREE.PlaneBufferGeometry(2, 2);
+ const plane = new THREE.PlaneGeometry(2, 2);
const fragmentShader = `
#include <common> | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadertoy-bleepy-blocks.html | @@ -37,7 +37,7 @@
1, // far
);
const scene = new THREE.Scene();
- const plane = new THREE.PlaneBufferGeometry(2, 2);
+ const plane = new THREE.PlaneGeometry(2, 2);
const fragmentShader = `
#include <common> | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadertoy-prep.html | @@ -37,7 +37,7 @@
1, // far
);
const scene = new THREE.Scene();
- const plane = new THREE.PlaneBufferGeometry(2, 2);
+ const plane = new THREE.PlaneGeometry(2, 2);
const material = new THREE.MeshBasicMaterial({
color: 'red',
}); | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-directional-light-shadow-acne.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize, planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize, planeSize, planeSize);
const positionAttribute = pl... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-directional-light-with-camera-gui.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-directional-light-with-camera-helper.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-directional-light.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-fake.html | @@ -51,7 +51,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshBasicMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-point-light.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-spot-light-with-camera-gui.html | @@ -55,7 +55,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-shadows-spot-light-with-shadow-radius.html | @@ -56,7 +56,7 @@
const repeats = planeSize / 2;
texture.repeat.set(repeats, repeats);
- const planeGeo = new THREE.PlaneBufferGeometry(planeSize, planeSize);
+ const planeGeo = new THREE.PlaneGeometry(planeSize, planeSize);
const planeMat = new THREE.MeshPhongMaterial({
map: texture,
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-textured-cube-6-textures.html | @@ -39,7 +39,7 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const geometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const geometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
const cubes = []; // just an array we can use to rotate the cubes
con... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-textured-cube-wait-for-all-textures.html | @@ -64,7 +64,7 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const geometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const geometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
const cubes = []; // just an array we can use to rotate the cubes
con... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-transparency-intersecting-planes-alphatest.html | @@ -55,7 +55,7 @@
const planeWidth = 1;
const planeHeight = 1;
- const geometry = new THREE.PlaneBufferGeometry(planeWidth, planeHeight);
+ const geometry = new THREE.PlaneGeometry(planeWidth, planeHeight);
const loader = new THREE.TextureLoader();
| true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-transparency-intersecting-planes-fixed.html | @@ -54,7 +54,7 @@
const planeWidth = 0.5;
const planeHeight = 1;
- const geometry = new THREE.PlaneBufferGeometry(planeWidth, planeHeight);
+ const geometry = new THREE.PlaneGeometry(planeWidth, planeHeight);
const loader = new THREE.TextureLoader();
| true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-transparency-intersecting-planes.html | @@ -54,7 +54,7 @@
const planeWidth = 1;
const planeHeight = 1;
- const geometry = new THREE.PlaneBufferGeometry(planeWidth, planeHeight);
+ const geometry = new THREE.PlaneGeometry(planeWidth, planeHeight);
const loader = new THREE.TextureLoader();
| true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-voxel-geometry-merged.html | @@ -60,7 +60,7 @@
const height = (Math.sin(x / cellSize * Math.PI * 4) + Math.sin(z / cellSize * Math.PI * 6)) * 20 + 60;
//if (y < height) {
if (height > y && height < y + 1) {
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-voxel-geometry-separate-cubes.html | @@ -67,7 +67,7 @@
}
}
- const geometry = new THREE.BoxBufferGeometry(1, 1, 1);
+ const geometry = new THREE.BoxGeometry(1, 1, 1);
const material = new THREE.MeshPhongMaterial({color: 'green'});
for (let y = 0; y < cellSize; ++y) { | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-webvr-look-to-select-selector.html | @@ -60,14 +60,14 @@
//const innerRadius = 0.4;
//const outerRadius = 0.5;
//const segments = 64;
- //const cursorGeometry = new THREE.RingBufferGeometry(
+ //const cursorGeometry = new THREE.RingGeometry(
// innerRadius, outerRadius, segments);
const ringRadius = 0.4;
const tubeRadius = 0.1;
... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-webvr-look-to-select-w-cursor.html | @@ -70,10 +70,10 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const boxGeometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const boxGeometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
const sphereRadius = 0.5;
- const sphereGeometry = new THREE.Sph... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-webvr-look-to-select.html | @@ -62,7 +62,7 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const geometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const geometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
function makeInstance(geometry, color, x) {
const material = new THR... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-webvr-point-to-select-w-move.html | @@ -62,10 +62,10 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const boxGeometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const boxGeometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
const sphereRadius = 0.5;
- const sphereGeometry = new THREE.Sph... | true |
Other | mrdoob | three.js | 99e1625bfbaee81e7abc6506222eaaec4bb08535.json | Change all XXXBufferGeometry to XXXGeometry | threejs/threejs-webvr-point-to-select.html | @@ -62,10 +62,10 @@
const boxWidth = 1;
const boxHeight = 1;
const boxDepth = 1;
- const boxGeometry = new THREE.BoxBufferGeometry(boxWidth, boxHeight, boxDepth);
+ const boxGeometry = new THREE.BoxGeometry(boxWidth, boxHeight, boxDepth);
const sphereRadius = 0.5;
- const sphereGeometry = new THREE.Sph... | true |
Other | mrdoob | three.js | fbac88d731b85fc9b25c69ce7161edd2566ed40c.json | remove references to XXXBufferGeometry | threejs/lessons/fr/threejs-primitives.md | @@ -26,26 +26,26 @@ La plupart des primitives ci-dessous ont des valeurs par défaut
pour certains ou tous leurs paramètres. Vous pouvez donc les
utiliser en fonction de vos besoins.
-<div id="Diagram-BoxBufferGeometry" data-primitive="BoxBufferGeometry">Une Boîte</div>
-<div id="Diagram-CircleBufferGeometry" data-p... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.