From 82cdfd5b26f33438770866265f88c7241f06cd63 Mon Sep 17 00:00:00 2001 From: Alexey Knyazev Date: Sun, 21 May 2017 22:21:49 +0400 Subject: [PATCH] Soft enforcement of unit quaternions. --- specification/2.0/schema/node.schema.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/2.0/schema/node.schema.json b/specification/2.0/schema/node.schema.json index de9f009487..9aa8de37db 100644 --- a/specification/2.0/schema/node.schema.json +++ b/specification/2.0/schema/node.schema.json @@ -42,7 +42,9 @@ "type": "array", "description": "The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.", "items": { - "type": "number" + "type": "number", + "minimum": -1.0, + "maximum": 1.0 }, "minItems": 4, "maxItems": 4,