@@ -3,10 +3,10 @@ import { useEffect, useRef } from "react";
33
44import type { SurfaceFnDef } from "../../src/helpers/surface-equations" ;
55import {
6- CONCAVE ,
7- CONVEX ,
8- CONVEX_CIRCLE ,
9- LIP ,
6+ concave ,
7+ convex ,
8+ convexCircle ,
9+ lip ,
1010} from "../../src/helpers/surface-equations" ;
1111import { calculateDisplacementMapRadius } from "../../src/maps/displacement-map" ;
1212
@@ -15,10 +15,10 @@ const PLOT_HEIGHT = 300;
1515const PADDING = 40 ;
1616
1717const equations : { name : string ; fn : SurfaceFnDef ; color : string } [ ] = [
18- { name : "CONVEX " , fn : CONVEX , color : "#4fc3f7" } ,
19- { name : "CONVEX_CIRCLE " , fn : CONVEX_CIRCLE , color : "#81c784" } ,
20- { name : "CONCAVE " , fn : CONCAVE , color : "#ff8a65" } ,
21- { name : "LIP " , fn : LIP , color : "#ce93d8" } ,
18+ { name : "convex " , fn : convex , color : "#4fc3f7" } ,
19+ { name : "convexCircle " , fn : convexCircle , color : "#81c784" } ,
20+ { name : "concave " , fn : concave , color : "#ff8a65" } ,
21+ { name : "lip " , fn : lip , color : "#ce93d8" } ,
2222] ;
2323
2424type Props = {
0 commit comments