Skip to content

Commit

Permalink
fix: incorrect rotation types for 3d revision (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksnester committed Dec 1, 2020
1 parent 170641c commit 4bfd3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/stable/src/types.ts
Expand Up @@ -518,7 +518,7 @@ export interface CreateRevision3D {
* Global rotation to be applied to the entire model.
* The rotation is expressed by Euler angles in radians and in XYZ order.
*/
rotation?: [boolean, boolean, boolean];
rotation?: Tuple3<number>;
camera?: RevisionCameraProperties;
/**
* The file id to a file uploaded to Cognite's Files API.
Expand Down Expand Up @@ -1847,7 +1847,7 @@ export interface Revision3D {
* Global rotation to be applied to the entire model.
* The rotation is expressed by Euler angles in radians and in XYZ order.
*/
rotation?: [number, number, number];
rotation?: Tuple3<number>;
camera?: RevisionCameraProperties;
/**
* The status of the revision.
Expand Down

0 comments on commit 4bfd3a5

Please sign in to comment.