Skip to content

Commit e4045fe

Browse files
committed
docs
1 parent 6ba0616 commit e4045fe

File tree

8 files changed

+17
-25
lines changed

8 files changed

+17
-25
lines changed

src/ops/base/Ops.Anim.Bang/Ops.Anim.Bang.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,5 @@
5959
},
6060
"exampleProjectId": "TctR5r",
6161
"license": "MIT",
62-
"changelog": [
63-
{
64-
"message": "",
65-
"type": "feature",
66-
"author": "pandur",
67-
"date": 1741277743673
68-
}
69-
]
62+
"changelog": []
7063
}

src/ops/base/Ops.Gl.Shader.MatCapMaterial_v3/att_matcap.frag

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ void main()
136136
#endif
137137

138138
#ifdef USE_SPECULAR_TEXTURE
139-
vec4 spec = texture(texSpecMatCap, getMatCapUV(viewSpacePosition, viewSpaceNormal));
139+
vec4 spec = texture(texSpecMatCap, getMatCapUV(viewSpacePosition, normal));
140140
spec *= texture(texSpec, texCoords);
141141
col += spec;
142142
#endif

src/ops/base/Ops.Gl.ShaderEffects.VertexArea/Ops.Gl.ShaderEffects.VertexArea.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const srcHeadVert = attachments.deformarea_vert;
4040

4141
const srcBodyVert = ""
4242
.endl() + "pos=MOD_deform(pos,mMatrix,false,norm);"
43-
.endl() + "norm=MOD_deform(pos,mMatrix,true,norm).xyz;"
43+
// .endl() + "norm=MOD_deform(pos,mMatrix,true,norm).xyz;"
4444
.endl();
4545

4646
const mod = new CGL.ShaderModifier(cgl, op.name, { "opId": op.id });

src/ops/base/Ops.Gl.ShaderEffects.VertexArea/att_deformarea.vert

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ float MOD_sdHexPrism( vec3 p, vec2 h )
3434

3535
/////////////////////
3636

37-
mat4 createTransformMatrix(vec3 translation, vec3 scale) {
37+
mat4 MOD_createTransformMatrix(vec3 translation, vec3 scale) {
3838
mat4 matrix = mat4(1.0);
3939

4040
matrix[0][0] = scale.x;
@@ -114,7 +114,7 @@ vec4 MOD_deform(vec4 oldPos,mat4 mMatrix,bool calcNormal,vec3 norm)
114114
#ifndef MOD_VIZ
115115
if(MOD_de>0.000)
116116
{
117-
mat4 m=createTransformMatrix(
117+
mat4 m=MOD_createTransformMatrix(
118118
MOD_changeTranslate*MOD_de,
119119
MOD_changeScale*(MOD_deFO)
120120
);

src/ops/base/Ops.Sidebar.SidebarElement/Ops.Sidebar.SidebarElement.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"message": "Add visible toggle input",
12-
"type": "",
12+
"type": "feature",
1313
"author": "pandur",
1414
"date": 1740571150322
1515
}

src/ops/base/Ops.String.HtmlDecode/Ops.String.HtmlDecode.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
"type": "new op",
1010
"author": "pandur",
1111
"date": 1740908232795
12-
},
13-
{
14-
"message": "Patch.PoQ1jhE.HtmlDecde renamed to Ops.String.HtmlDecode",
15-
"type": "rename",
16-
"author": "pandur",
17-
"date": 1741000093324
1812
}
1913
],
2014
"layout": {
@@ -30,5 +24,9 @@
3024
"name": "result"
3125
}
3226
]
27+
},
28+
"summary": "convert a html encoded string to a normal UTF8 string",
29+
"docs": {
30+
"ports": []
3331
}
3432
}

src/ops/base/Ops.String.HtmlEncode/Ops.String.HtmlEncode.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
"type": "new op",
1010
"author": "pandur",
1111
"date": 1740999566516
12-
},
13-
{
14-
"message": "Patch.PoQ1jhE.HtmlEncode renamed to Ops.String.HtmlEncode",
15-
"type": "rename",
16-
"author": "pandur",
17-
"date": 1741000077959
1812
}
1913
],
2014
"layout": {
@@ -30,5 +24,9 @@
3024
"name": "result"
3125
}
3226
]
27+
},
28+
"summary": "encode a string to html",
29+
"docs": {
30+
"ports": []
3331
}
3432
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
HTML encoding ensures that text will be correctly displayed in the browser, not interpreted by the browser as HTML
2+
3+
e.g. "<" becomes "&#62;", so it will not be interpreted as an opening character of a tag

0 commit comments

Comments
 (0)