This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{range .}} | |
| {{/** | |
| * Each operation's RequestObject | |
| */}} | |
| {{$opid := .OperationId -}} | |
| type {{$opid | ucFirst}}RequestObject struct { | |
| {{range .PathParams -}} | |
| {{.GoName | ucFirst}} {{.TypeDef}} {{.JsonTag}} | |
| {{end -}} | |
| {{if .RequiresParamObject -}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // frag shader | |
| // Sphere without geometry | |
| #define PI 3.1415926535897932384626433832795 | |
| varying mat4 vNormalMatrix; | |
| #include includes/utils.glsl; | |
| #include includes/lights.glsl; | |
| void drawSphere(vec2 uv, float radius) { |
OlderNewer