forked from KhronosGroup/glTF
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
79 additions
and
51 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
extensions/2.0/Vendor/EXT_primitive_voxels/schema/bounds.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "bounds.schema.json", | ||
"title": "Bounds", | ||
"type": "object", | ||
"description": "The bounds property describes which section of the primitive is mapped to the voxel grid. bounds.min and bounds.max specify a rectangular region of the voxel grid in the appropriate coordinate system.", | ||
"allOf": [ | ||
{ | ||
"$ref": "glTFProperty.schema.json" | ||
} | ||
], | ||
"properties": { | ||
"min": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"minItems": 3, | ||
"maxItems": 3 | ||
}, | ||
"max": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"minItems": 3, | ||
"maxItems": 3 | ||
} | ||
}, | ||
"required": [ | ||
"min", | ||
"max" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
extensions/2.0/Vendor/EXT_primitive_voxels/schema/padding.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "padding.schema.json", | ||
"title": "Padding", | ||
"type": "object", | ||
"description": "The padding property specifies how many rows of attribute data in each dimension come from neighboring grids.", | ||
"allOf": [ | ||
{ | ||
"$ref": "glTFProperty.schema.json" | ||
} | ||
], | ||
"properties": { | ||
"before": { | ||
"type": "array", | ||
"items": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"minItems": 3, | ||
"maxItems": 3 | ||
}, | ||
"after": { | ||
"type": "array", | ||
"items": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"minItems": 3, | ||
"maxItems": 3 | ||
} | ||
}, | ||
"required": [ | ||
"before", | ||
"after" | ||
] | ||
} |