factor: cleanup IN: and paths

locals-and-roots
Doug Coleman 2016-06-22 00:26:08 -07:00
parent 6ca59c8e02
commit e80ba6ef8b
10 changed files with 11 additions and 11 deletions

View File

@ -3,7 +3,7 @@
USING: accessors combinators.smart io.files kernel namespaces
sequences sets splitting vocabs.files vocabs.hierarchy
vocabs.loader vocabs.metadata ;
in: modern.paths
IN: modern.paths
: vocabs-from ( root -- vocabs )
"" disk-vocabs-in-root/prefix
@ -72,7 +72,7 @@ in: modern.paths
{
"specialized-arrays" "specialized-vectors"
"math.blas.matrices" "math.blas.vectors" "math.vectors.simd"
"math.vectors.simd.cords" "game.debug" "gpu.util" "gpu.effects.blur"
"math.vectors.simd.cords"
} ;

View File

@ -1,7 +1,7 @@
USING: arrays bunny.model continuations destructors kernel
multiline opengl opengl.shaders opengl.capabilities opengl.gl
sequences accessors combinators ;
in: bunny.cel-shaded
IN: bunny.cel-shaded
CONSTANT: vertex-shader-source [[
varying vec3 position, normal, viewer;

View File

@ -4,7 +4,7 @@ opengl.framebuffers opengl.gl opengl.textures opengl.demo-support fry
opengl.capabilities sequences ui.gadgets combinators accessors
macros locals ;
FROM: opengl.demo-support => rect-vertices ;
in: bunny.outlined
IN: bunny.outlined
CONSTANT: outlined-pass1-fragment-shader-main-source [[
varying vec3 normal;

View File

@ -3,7 +3,7 @@ opengl.shaders opengl.framebuffers opengl.capabilities multiline
ui.gadgets accessors sequences ui.render ui math locals arrays
generalizations combinators ui.gadgets.worlds
literals ui.pixel-formats ;
in: spheres
IN: spheres
CONSTANT: plane-vertex-shader [[
varying vec3 object_position;

View File

@ -7,7 +7,7 @@ literals locals make math math.constants math.functions
math.vectors sequences specialized-arrays typed ui.text fry ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAYS: float uint ;
in: game.debug
IN: game.debug
PRIVATE<
! Vertex shader for debug shapes

View File

@ -3,7 +3,7 @@
USING: arrays destructors fry gpu.framebuffers gpu.render gpu.shaders
gpu.state gpu.textures gpu.util images kernel locals math
math.rectangles sequences ;
in: gpu.effects.blur
IN: gpu.effects.blur
GLSL-SHADER: blur-fragment-shader fragment-shader [[
uniform sampler2D texture;

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license.
USING: destructors gpu.render gpu.shaders gpu.state gpu.textures
gpu.util images kernel locals math.rectangles ;
in: gpu.effects.step
IN: gpu.effects.step
GLSL-SHADER: step-fragment-shader fragment-shader [[
const vec4 luminance = vec4(0.3, 0.59, 0.11, 0.0);

View File

@ -4,7 +4,7 @@ gpu.shaders gpu.state gpu.textures images kernel locals math
math.rectangles opengl.gl sequences specialized-arrays ;
FROM: alien.c-types => float ;
specialized-array: float
in: gpu.util
IN: gpu.util
CONSTANT: environment-cube-map-mv-matrices
H{

View File

@ -1,5 +1,5 @@
USING: multiline ;
in: terrain.shaders
IN: terrain.shaders
CONSTANT: sky-vertex-shader [[

View File

@ -14,7 +14,7 @@ prettyprint images.tga literals ;
FROM: alien.c-types => float ;
specialized-array: float
specialized-vector: uint
in: model-viewer
IN: model-viewer
GLSL-SHADER: obj-vertex-shader vertex-shader [[
uniform mat4 mv_matrix;