Skip to content

Commit

Permalink
Clarify TRS order
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev committed Sep 10, 2016
1 parent 19faf4e commit eb4afea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,7 @@ A node in the node hierarchy. A node can have either the `camera`, `meshes`, or
In the later case, all `primitives` in the referenced `meshes` contain `JOINT` and `WEIGHT` attributes and the referenced [`material`](#reference-material)/[`technique`](#reference-technique) from each `primitive` has parameters with `JOINT` and `WEIGHT` semantics.
A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. If none are provided, the transform is the identity.
A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix. If none are provided, the transform is the identity.
**Properties**
Expand Down
2 changes: 1 addition & 1 deletion specification/schema/node.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema" : "http://json-schema.org/draft-03/schema",
"title" : "node",
"type" : "object",
"description" : "A node in the node hierarchy. A node can have either the `camera`, `meshes`, or `skeletons`/`skin`/`meshes` properties defined. In the later case, all `primitives` in the referenced `meshes` contain `JOINT` and `WEIGHT` attributes and the referenced `material`/`technique` from each `primitive` has parameters with `JOINT` and `WEIGHT` semantics. A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. If none are provided, the transform is the identity.",
"description" : "A node in the node hierarchy. A node can have either the `camera`, `meshes`, or `skeletons`/`skin`/`meshes` properties defined. In the later case, all `primitives` in the referenced `meshes` contain `JOINT` and `WEIGHT` attributes and the referenced `material`/`technique` from each `primitive` has parameters with `JOINT` and `WEIGHT` semantics. A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix. If none are provided, the transform is the identity.",
"extends" : { "$ref" : "glTFChildOfRootProperty.schema.json" },
"properties" : {
"camera" : {
Expand Down

0 comments on commit eb4afea

Please sign in to comment.