Skip to content

Instantly share code, notes, and snippets.

View PEDx's full-sized avatar
😮
Focusing

PED PEDx

😮
Focusing
  • China
View GitHub Profile
@PEDx
PEDx / cloudSetting
Created July 17, 2019 03:00
cloudSetting
cloudSetting
var VSHADER_SOURCE =
"attribute vec4 a_position; \n" +
"attribute vec2 a_texCoord; \n" +
"varying mediump vec2 v_texCoord; \n" +
"uniform mat4 u_ModelMatrix; \n" + // 变换矩阵
"uniform float u_Radius; \n" + // 半径
"uniform float u_ArcLength; \n" + // 弯曲弧长
"uniform int u_Direction; \n" + // 卷曲方向
my_atom_config_backup