From 32c940e4efa328fb38ee446315008facf1546266 Mon Sep 17 00:00:00 2001 From: Capital Date: Sun, 10 Sep 2023 13:11:50 -0400 Subject: [PATCH] math.trig: remove reference to this vocab Additionally, use help-lint-all to check for references. --- basis/colors/lch/lch.factor | 2 +- extra/L-system/L-system.factor | 2 +- extra/boids/boids.factor | 2 +- extra/colors/distances/distances.factor | 2 +- extra/game/debug/tests/tests.factor | 2 +- extra/gml/coremath/coremath.factor | 2 +- extra/gml/geometry/geometry.factor | 3 ++- extra/math/affine-transforms/affine-transforms-docs.factor | 4 ++-- extra/rlgl/demo/demo.factor | 2 +- extra/rosetta-code/haversine-formula/haversine-formula.factor | 2 +- extra/svg/svg-tests.factor | 2 +- extra/svg/svg.factor | 2 +- extra/terrain/terrain.factor | 2 +- 13 files changed, 15 insertions(+), 14 deletions(-) diff --git a/basis/colors/lch/lch.factor b/basis/colors/lch/lch.factor index 5b5d53d49f..d8df277ea0 100644 --- a/basis/colors/lch/lch.factor +++ b/basis/colors/lch/lch.factor @@ -2,7 +2,7 @@ ! See https://factorcode.org/license.txt for BSD license USING: accessors colors colors.lab colors.luv colors.xyz kernel -math math.functions math.libm math.trig ; +math math.functions math.libm ; IN: colors.lch diff --git a/extra/L-system/L-system.factor b/extra/L-system/L-system.factor index 1319853ebb..f64c9d9678 100644 --- a/extra/L-system/L-system.factor +++ b/extra/L-system/L-system.factor @@ -2,7 +2,7 @@ USING: accessors arrays assocs calendar colors combinators.short-circuit help help.markup help.syntax kernel math math.functions math.matrices math.order math.parser -math.trig math.vectors opengl opengl.demo-support opengl.gl +math.vectors opengl opengl.demo-support opengl.gl opengl.glu sbufs sequences strings threads ui.gadgets ui.gadgets.worlds ui.gestures ui.render ; diff --git a/extra/boids/boids.factor b/extra/boids/boids.factor index 92aa819ade..d3dc17e133 100644 --- a/extra/boids/boids.factor +++ b/extra/boids/boids.factor @@ -3,7 +3,7 @@ ! See https://factorcode.org/license.txt for BSD license. USING: accessors arrays boids.simulation calendar classes colors -kernel literals math math.functions math.trig models +kernel literals math math.functions models models.range opengl opengl.demo-support opengl.gl sequences threads ui ui.commands ui.gadgets ui.gadgets.borders ui.gadgets.buttons ui.gadgets.frames ui.gadgets.grids diff --git a/extra/colors/distances/distances.factor b/extra/colors/distances/distances.factor index 40c09bc2b5..b4df214f6e 100644 --- a/extra/colors/distances/distances.factor +++ b/extra/colors/distances/distances.factor @@ -2,7 +2,7 @@ ! See https://factorcode.org/license.txt for BSD license USING: accessors colors colors.lab colors.lch kernel math -math.functions math.libm math.order math.trig ; +math.functions math.libm math.order ; IN: colors.distances diff --git a/extra/game/debug/tests/tests.factor b/extra/game/debug/tests/tests.factor index 22f1070dc1..d1d0b1a4bd 100644 --- a/extra/game/debug/tests/tests.factor +++ b/extra/game/debug/tests/tests.factor @@ -2,7 +2,7 @@ ! See https://factorcode.org/license.txt for BSD license. USING: accessors colors game.debug game.loop game.worlds gpu gpu.framebuffers gpu.util.wasd kernel literals locals make math -math.matrices math.matrices.extras math.parser math.trig +math.matrices math.matrices.extras math.parser math.functions sequences specialized-arrays ui.gadgets.worlds ui.pixel-formats ; FROM: alien.c-types => float ; diff --git a/extra/gml/coremath/coremath.factor b/extra/gml/coremath/coremath.factor index 124fcf8bae..547f62aa3d 100644 --- a/extra/gml/coremath/coremath.factor +++ b/extra/gml/coremath/coremath.factor @@ -1,6 +1,6 @@ ! Copyright (C) 2010 Slava Pestov. USING: gml.types gml.printer gml.runtime math math.constants -math.functions math.matrices math.order ranges math.trig +math.functions math.matrices math.order ranges math.vectors continuations combinators arrays kernel vectors accessors prettyprint fry sequences assocs locals hashtables grouping sorting classes.struct math.vectors.simd diff --git a/extra/gml/geometry/geometry.factor b/extra/gml/geometry/geometry.factor index 320c6d1b13..52732d32b9 100644 --- a/extra/gml/geometry/geometry.factor +++ b/extra/gml/geometry/geometry.factor @@ -1,6 +1,7 @@ ! Copyright (C) 2010 Slava Pestov. USING: arrays gml.runtime kernel math.matrices -math.matrices.extras math.trig math.vectors.simd.cords ; +math.matrices.extras math.vectors.simd.cords +math.functions ; IN: gml.geometry GML: rot_vec ( v n alpha -- v ) diff --git a/extra/math/affine-transforms/affine-transforms-docs.factor b/extra/math/affine-transforms/affine-transforms-docs.factor index 3509eae011..e89d82e5ab 100644 --- a/extra/math/affine-transforms/affine-transforms-docs.factor +++ b/extra/math/affine-transforms/affine-transforms-docs.factor @@ -8,12 +8,12 @@ ARTICLE: "math.affine-transforms" "Affine Transformations of 2d Vectors" { $examples "Creates a 45 degree counter clock-wise rotation matrix and applies it to a vector:" { $example - "USING: math.affine-transforms math.trig prettyprint ;\n45 deg>rad { 0 4 } a.v ." + "USING: math.affine-transforms math.functions prettyprint ;\n45 deg>rad { 0 4 } a.v ." "{ -2.82842712474619 2.82842712474619 }" } "Applies a combined scaling and translation transform to a vector:" { $example - "USING: math.affine-transforms math.trig prettyprint ;\n{ 0 -5 } 1 2 a. { 4 3 } a.v ." + "USING: math.affine-transforms math.functions prettyprint ;\n{ 0 -5 } 1 2 a. { 4 3 } a.v ." "{ 4.0 1.0 }" } } ; diff --git a/extra/rlgl/demo/demo.factor b/extra/rlgl/demo/demo.factor index f542c1be15..bfcbeb917d 100644 --- a/extra/rlgl/demo/demo.factor +++ b/extra/rlgl/demo/demo.factor @@ -2,7 +2,7 @@ ! See https:!factorcode.org/license.txt for BSD license. ! A port of https://github.com/raysan5/raylib/blob/master/examples/models/models_rlgl_solar_system.c USING: accessors classes.struct kernel math math.functions -math.trig ranges raylib rlgl sequences combinators.extras ; +ranges raylib rlgl sequences combinators.extras ; IN: rlgl.demo ! Some raylib combinators diff --git a/extra/rosetta-code/haversine-formula/haversine-formula.factor b/extra/rosetta-code/haversine-formula/haversine-formula.factor index f0de9a9e26..fe14dcda2c 100644 --- a/extra/rosetta-code/haversine-formula/haversine-formula.factor +++ b/extra/rosetta-code/haversine-formula/haversine-formula.factor @@ -1,6 +1,6 @@ ! Copyright (c) 2012 Anonymous ! See https://factorcode.org/license.txt for BSD license. -USING: arrays kernel math math.functions math.trig +USING: arrays kernel math math.functions math.vectors sequences ; IN: rosetta-code.haversine-formula diff --git a/extra/svg/svg-tests.factor b/extra/svg/svg-tests.factor index ec703c3ac7..b212c4bfd2 100644 --- a/extra/svg/svg-tests.factor +++ b/extra/svg/svg-tests.factor @@ -1,6 +1,6 @@ ! (c)2009 Joe Groff, see BSD license USING: accessors literals math math.affine-transforms -math.functions math.trig multiline sequences svg tools.test xml +math.functions multiline sequences svg tools.test xml xml.traversal ; IN: svg.tests diff --git a/extra/svg/svg.factor b/extra/svg/svg.factor index 3dfbc243e1..933d7fa29e 100644 --- a/extra/svg/svg.factor +++ b/extra/svg/svg.factor @@ -1,7 +1,7 @@ ! (c)2009 Joe Groff, see BSD license USING: accessors arrays assocs kernel math -math.affine-transforms math.functions math.parser math.trig +math.affine-transforms math.functions math.parser peg.ebnf sequences sequences.squish splitting strings xml.data xml.syntax multiline ; diff --git a/extra/terrain/terrain.factor b/extra/terrain/terrain.factor index 9651f02881..934e809c25 100644 --- a/extra/terrain/terrain.factor +++ b/extra/terrain/terrain.factor @@ -3,7 +3,7 @@ USING: accessors arrays combinators combinators.short-circuit destructors game.input game.input.scancodes game.loop game.worlds grid-meshes grouping kernel literals math -math.functions math.matrices.simd math.order math.trig +math.functions math.matrices.simd math.order math.vectors math.vectors.simd noise opengl opengl.capabilities opengl.gl opengl.shaders opengl.textures sequences specialized-arrays terrain.generation terrain.shaders -- 2.34.1