From 96406987797201f8e1a985d6b7299cd54cb6c628 Mon Sep 17 00:00:00 2001 From: Sam Ritchie Date: Sun, 25 Jun 2023 11:59:51 -0600 Subject: [PATCH] limit threejs (#18) --- CHANGELOG.md | 4 ++++ build.clj | 2 +- dev/mathbox/examples/test/polar.clj | 2 +- src/deps.cljs | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38df855..46b861a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [unreleased] +## [0.2.2] + +- #18 limits the max threejs version to 0.150.0 to preserve colors. + ## [0.2.1] - #16: diff --git a/build.clj b/build.clj index 930c1b2..45cef1c 100644 --- a/build.clj +++ b/build.clj @@ -17,7 +17,7 @@ ;; ## Variables (def lib 'org.mentat/mathbox.cljs) -(def version "0.2.1") +(def version "0.2.2") (def pom-deps {'org.babashka/sci {:mvn/version "0.7.39" diff --git a/dev/mathbox/examples/test/polar.clj b/dev/mathbox/examples/test/polar.clj index 3c82aa0..47aac20 100644 --- a/dev/mathbox/examples/test/polar.clj +++ b/dev/mathbox/examples/test/polar.clj @@ -33,7 +33,7 @@ [-1 1]] :scale [2 1 1] :helix 0.1} - ;; radius axis with tickets. + ;; radius axis with ticks. [box/Transform {:position [0 0.5 0]} [box/Axis {:detail 256}] [box/Scale {:divide 10 :unit Math/PI :base 2}] diff --git a/src/deps.cljs b/src/deps.cljs index e0c6e56..ab012b4 100644 --- a/src/deps.cljs +++ b/src/deps.cljs @@ -2,4 +2,4 @@ {"mathbox-react" "^0.2.2" "mathbox" "^2.3.1" "threestrap" "0.5.1" - "three" ">= 0.118.0 || < 0.163.0"}} + "three" ">= 0.118.0 || <= 0.150.0"}}