diff --git a/examples-testing/changes.patch b/examples-testing/changes.patch index dfce9321c..573cd6a9e 100644 --- a/examples-testing/changes.patch +++ b/examples-testing/changes.patch @@ -3056,7 +3056,7 @@ index d78fbec..6b84a2c 100644 case 79 /*O*/: activeCamera = cameraOrtho; diff --git a/examples-testing/examples/webgl_camera_logarithmicdepthbuffer.ts b/examples-testing/examples/webgl_camera_logarithmicdepthbuffer.ts -index a80cc19..4d1f2c8 100644 +index f1d4400..7f149db 100644 --- a/examples-testing/examples/webgl_camera_logarithmicdepthbuffer.ts +++ b/examples-testing/examples/webgl_camera_logarithmicdepthbuffer.ts @@ -1,6 +1,6 @@ @@ -3458,7 +3458,7 @@ index 648e097..98d024c 100644 stats = new Stats(); diff --git a/examples-testing/examples/webgl_custom_attributes_lines.ts b/examples-testing/examples/webgl_custom_attributes_lines.ts -index 29b8a06..9217e11 100644 +index 5f18f65..c6c7dd0 100644 --- a/examples-testing/examples/webgl_custom_attributes_lines.ts +++ b/examples-testing/examples/webgl_custom_attributes_lines.ts @@ -1,13 +1,18 @@ @@ -4734,7 +4734,7 @@ index 4e9a7d3..86071e3 100644 helper.position.copy(intersects[0].point); } diff --git a/examples-testing/examples/webgl_geometry_text.ts b/examples-testing/examples/webgl_geometry_text.ts -index 51a639b..90087e4 100644 +index c6000e0..e0b49b6 100644 --- a/examples-testing/examples/webgl_geometry_text.ts +++ b/examples-testing/examples/webgl_geometry_text.ts @@ -1,23 +1,23 @@ @@ -4808,7 +4808,7 @@ index 51a639b..90087e4 100644 + font: font!, size: size, - height: height, + depth: depth, @@ -239,7 +239,7 @@ function createText() { textGeo.computeBoundingBox(); @@ -7638,7 +7638,7 @@ index 2a583c2..8e3e976 100644 init(); diff --git a/examples-testing/examples/webgl_loader_ttf.ts b/examples-testing/examples/webgl_loader_ttf.ts -index 0dd7f41..4d6cd14 100644 +index bda80db..e0f5ca8 100644 --- a/examples-testing/examples/webgl_loader_ttf.ts +++ b/examples-testing/examples/webgl_loader_ttf.ts @@ -4,9 +4,9 @@ import { TTFLoader } from 'three/addons/loaders/TTFLoader.js'; @@ -7654,7 +7654,7 @@ index 0dd7f41..4d6cd14 100644 let firstLetter = true; let text = 'three.js'; -@@ -17,7 +17,7 @@ const height = 20, +@@ -17,7 +17,7 @@ const depth = 20, bevelThickness = 2, bevelSize = 1.5; @@ -7689,7 +7689,7 @@ index 0dd7f41..4d6cd14 100644 + font: font!, size: size, - height: height, + depth: depth, @@ -159,7 +159,7 @@ function createText() { textGeo.computeBoundingBox(); textGeo.computeVertexNormals(); @@ -9080,7 +9080,7 @@ index 2666d09..b284d9f 100644 if (texture.matrixAutoUpdate === true) { texture.offset.set(API.offsetX, API.offsetY); diff --git a/examples-testing/examples/webgl_materials_toon.ts b/examples-testing/examples/webgl_materials_toon.ts -index ea9b0b7..54fb0b4 100644 +index d1b39e8..9657dbf 100644 --- a/examples-testing/examples/webgl_materials_toon.ts +++ b/examples-testing/examples/webgl_materials_toon.ts @@ -4,13 +4,13 @@ import Stats from 'three/addons/libs/stats.module.js'; @@ -9552,7 +9552,7 @@ index e6ea453..f55a658 100644 simplified.material.flatShading = true; const count = Math.floor(simplified.geometry.attributes.position.count * 0.875); // number of vertices to remove diff --git a/examples-testing/examples/webgl_modifier_tessellation.ts b/examples-testing/examples/webgl_modifier_tessellation.ts -index ad9ed59..cd8f4e0 100644 +index 23628ef..0a988b9 100644 --- a/examples-testing/examples/webgl_modifier_tessellation.ts +++ b/examples-testing/examples/webgl_modifier_tessellation.ts @@ -4,14 +4,14 @@ import Stats from 'three/addons/libs/stats.module.js'; @@ -12468,7 +12468,7 @@ index 157b8da..63b7a3f 100644 // blur horizontally and draw in the renderTargetBlur diff --git a/examples-testing/examples/webgl_shadowmap.ts b/examples-testing/examples/webgl_shadowmap.ts -index 122fa84..e539bef 100644 +index 069d29f..4f12084 100644 --- a/examples-testing/examples/webgl_shadowmap.ts +++ b/examples-testing/examples/webgl_shadowmap.ts @@ -15,18 +15,18 @@ let SCREEN_WIDTH = window.innerWidth; @@ -12661,7 +12661,7 @@ index 91ba360..230059a 100644 THREE.ShaderChunk.shadowmap_pars_fragment = shader; diff --git a/examples-testing/examples/webgl_shadowmap_performance.ts b/examples-testing/examples/webgl_shadowmap_performance.ts -index c3f0207..c211b8a 100644 +index 1d37c1d..82dae11 100644 --- a/examples-testing/examples/webgl_shadowmap_performance.ts +++ b/examples-testing/examples/webgl_shadowmap_performance.ts @@ -16,16 +16,16 @@ const FLOOR = -250; @@ -13622,7 +13622,7 @@ index 5561ada..74fed79 100644 }); } diff --git a/examples-testing/examples/webgpu_camera_logarithmicdepthbuffer.ts b/examples-testing/examples/webgpu_camera_logarithmicdepthbuffer.ts -index 2e0d37c..deac7ad 100644 +index 87da20c..1503bf8 100644 --- a/examples-testing/examples/webgpu_camera_logarithmicdepthbuffer.ts +++ b/examples-testing/examples/webgpu_camera_logarithmicdepthbuffer.ts @@ -1,6 +1,6 @@ diff --git a/three.js b/three.js index 7059b85ca..027b25f35 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit 7059b85ca36d4e0950b8358dd8c7c9356841a12d +Subproject commit 027b25f35d512a77b373334d92e7c3820f6d5255 diff --git a/types/three/examples/jsm/geometries/TextGeometry.d.ts b/types/three/examples/jsm/geometries/TextGeometry.d.ts index 91c20d3ec..aa5fd3f6a 100644 --- a/types/three/examples/jsm/geometries/TextGeometry.d.ts +++ b/types/three/examples/jsm/geometries/TextGeometry.d.ts @@ -16,9 +16,17 @@ export interface TextGeometryParameters extends ExtrudeGeometryOptions { * Thickness to extrude text. * Expects a `Float`. * @defaultValue `50` + * @deprecated THREE.TextGeometry: .height is now depreciated. Please use .depth instead */ height?: number | undefined; + /** + * Thickness to extrude text. + * Expects a `Float`. + * @defaultValue `50` + */ + depth?: number | undefined; + /** * @override * @defaultValue `12`