Skip to content

Commit 6dec236

Browse files
committed
Minor cleanup
1 parent 2b387c0 commit 6dec236

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

extensions/2.0/Vendor/EXT_implicit_cylinder_region/schema/glTF.KHR_implicit_shapes.shape.EXT_implicit_cylinder_region.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "glTF.KHR_implicit_shapes.shape.EXT_implicit_cylinder_region.schema.json",
44
"title": "EXT_implicit_cylinder_region extension on KHR_implicit_shapes.shape",
55
"type": "object",
6-
"description": "`EXT_implicit_cylinder_region` extension on `KHR_implicit_shapes.shape` to represent an implicit cylinder region in a glTF model.",
6+
"description": "Extension of `KHR_implicit_shapes.shape` to represent an implicit cylinder region in a glTF model.",
77
"allOf": [
88
{
99
"$ref": "glTFProperty.schema.json"

extensions/2.0/Vendor/EXT_implicit_ellipsoid_region/README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The reference ellipsoid is centered at the origin. The `semiMajorAxisRadius` ind
2424

2525
The `semiMinorAxisRadius` indicates the radius of the ellipsoid in meters along the `y` axis.
2626

27-
The `minHeight` and `maxHeight` properties indicates the heights of the region from the ellipsoid's surface, in meters. The `minimum` height should be lower a value, but not necessarily closer to the surface of the ellipsoid. For example, `maxHeight` may be `10` while `minHeight` is `-100`.
27+
The `minHeight` and `maxHeight` properties indicates the heights of the region from the ellipsoid's surface, in meters. The `minimum` height should be a lower value, but not necessarily lower in magnitude. For example, `maxHeight` may be `10` while `minHeight` is `-100`.
2828

2929
<table>
3030
<tr>
@@ -60,5 +60,42 @@ The `minHeight` and `maxHeight` properties indicates the heights of the region f
6060
</tr>
6161
</table>
6262

63+
An ellipsoid region may also be confined to a specific latitude and/or longitude range. The `minLatitude` and `maxLatitude` properties represent the latitude values at which the region starts and stops, defined in the range `[-pi/2, pi/2]`. Similarly, the `minLatitude` and `maxLatitude` properties represent the longitude bounds within the range `[-pi, pi]`.
64+
65+
<table>
66+
<tr>
67+
<th>
68+
Example
69+
</th>
70+
</tr>
71+
<tr>
72+
<td><pre>
73+
"extensions": [
74+
{
75+
"KHR_implicit_shapes": {
76+
"shapes": [
77+
{
78+
"type": "ellipsoid region",
79+
"extensions": {
80+
"EXT_implicit_ellipsoid_region": {
81+
"semiMajorAxisRadius": 4,
82+
"semiMinorAxisRadius": 2,
83+
"minHeight": 0,
84+
"maxHeight": 0.5,
85+
// TODO
86+
}
87+
}
88+
}
89+
]
90+
}
91+
}
92+
]
93+
</pre></td>
94+
<td>
95+
**TODO** visual example
96+
</td>
97+
</tr>
98+
</table>
99+
63100
## Optional vs. Required
64101
This extension is required, meaning it should be placed in both the `extensionsUsed` list and `extensionsRequired` list.

extensions/2.0/Vendor/EXT_implicit_ellipsoid_region/schema/glTF.KHR_implicit_shapes.shape.EXT_implicit_ellipsoid_region.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "glTF.KHR_implicit_shapes.shape.EXT_implicit_ellipsoid_region.schema.json",
44
"title": "EXT_implicit_ellipsoid_region extension on KHR_implicit_shapes.shape",
55
"type": "object",
6-
"description": "`EXT_implicit_ellipsoid_region` extension on `KHR_implicit_shapes.shape` to represent an implicit ellipsoid region in a glTF model. Useful for geospatial applications, such as Earth-conforming voxel data.",
6+
"description": "Extension of `KHR_implicit_shapes.shape` to represent an implicit ellipsoid region in a glTF model.",
77
"allOf": [
88
{
99
"$ref": "glTFProperty.schema.json"

0 commit comments

Comments
 (0)