This website requires JavaScript.
Explore
Oven
Feed
Help
Sign In
ktyl
/
oglc
Watch
1
Star
0
Fork
You've already forked oglc
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
089458476f
oglc
/
shader
/
include
/
func.glsl
5 lines
84 B
GLSL
Raw
Blame
History
float
sdot
(
vec3
x
,
vec3
y
,
float
f
=
1.0
)
{
return
clamp
(
dot
(
x
,
y
)
*
f
,
0.0
,
1.0
)
;
}
Reference in New Issue
View Git Blame
Copy Permalink