We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a60ef commit 951f6d7Copy full SHA for 951f6d7
2 files changed
src/shade/fragCoord.js
@@ -7,8 +7,11 @@ Shade.fragCoord = function() {
7
evaluate: function() {
8
throw new Error("evaluate undefined for fragCoord");
9
},
10
+ element: function(i) {
11
+ return this.at(i);
12
+ },
13
compile: function(ctx) {
14
- json_key: function() { return "fragCoord"; }
15
+ _json_key: function() { return 'fragCoord'; }
16
});
17
};
src/shade/pointCoord.js
@@ -9,6 +9,9 @@ Shade.pointCoord = function() {
throw new Error("evaluate undefined for pointCoord");
_json_key: function() { return 'pointCoord'; }
0 commit comments