This file contains 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
struct Output | |
{ | |
float4 position_cs : SV_POSITION; | |
float2 texcoord : TEXCOORD; | |
}; | |
Output main(uint id: SV_VertexID) | |
{ | |
Output output; |
This file contains 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
static const int permutations[256] = | |
{ | |
249, 69, 172, 0, 116, 3, 219, 221, | |
224, 5, 6, 145, 128, 131, 97, 108, | |
133, 14, 165, 45, 166, 127, 114, 111, | |
119, 20, 34, 4, 103, 67, 48, 158, | |
85, 143, 181, 238, 217, 173, 78, 139, | |
179, 77, 191, 89, 251, 150, 183, 8, | |
168, 225, 23, 65, 55, 247, 136, 104, | |
117, 193, 174, 106, 122, 199, 243, 211, |
This file contains 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
//Maya ASCII 2022 scene | |
//Name: Test.ma | |
//Last modified: Wed, Jun 23, 2021 09:24:13 AM | |
//Codeset: 1252 | |
requires maya "2022"; | |
requires "stereoCamera" "10.0"; | |
currentUnit -l centimeter -a degree -t film; | |
fileInfo "application" "maya"; | |
fileInfo "product" "Maya 2022"; | |
fileInfo "version" "2022"; |
This file contains 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
Show hidden characters
{ | |
"cmd": ["lua", "$file"], | |
"file_regex": "^lua: (...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.lua" | |
} |
This file contains 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
struct Block | |
{ | |
__forceinline void Clear() | |
{ | |
vector[0] = vector[1] = _mm_setzero_si128(); | |
} | |
__forceinline void Fill() | |
{ | |
vector[0] = vector[1] = _mm_set_epi64x(0xffffffffffffffff, 0xffffffffffffffff); |
This file contains 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
// bind gloss {label:"Gloss", default:0.5, max:1, step:0.01} | |
// bind cdiff {label:"Diffuse Colour", r:0.6, g:0.0, b:0.0} | |
// bind cspec {label:"Specular Colour", r:0.3, g:0.3, b:0.3} | |
// bind lightstrength {label:"Light Strength", default:3, max:100, step:0.1} | |
// bind envtop {label:"Environment Top", r:0.0, g:0.2, b:0.4} | |
// bind envmiddle {label:"Environment Middle", r:0.2, g:0.2, b:0.2} | |
// bind envbottom {label:"Environment Bottom", r:0.01, g:0.1, b:0.01} | |
// bind refractiveindex {label:"Refracive Index", default:1.5, max:3, step:0.1} | |
// bind normalmap {label:"Normal Map", default:false} | |
// bind diffuse {label:"Diffuse", default:true} |
This file contains 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
{ | |
"cmd": ["C:\\Program Files (x86)\\Microsoft Visual Studio 8\\Common7\\IDE\\devenv.com", "C:\\Users\\rdriscoll\\Desktop\\Foo\\Foo.sln", "/Build"] | |
} |
This file contains 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
template<unsigned int N, unsigned int I> | |
struct FnvHash | |
{ | |
__forceinline static uint32 Hash(const char (&text)[N]) | |
{ | |
return (FnvHash<N, I - 1>::Hash(text) ^ text[I - 1]) * 16777619u; | |
} | |
}; | |
template<unsigned int N> |
This file contains 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
{ | |
"name": "Lua", | |
"scopeName": "source.lua", | |
"fileTypes": [ | |
"lua" | |
], | |
"repository": { | |
"general": { | |
"patterns": [ | |
{ |
This file contains 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
import sublime | |
import sublime_plugin | |
import re | |
from subprocess import Popen, PIPE | |
class ExampleCommand(sublime_plugin.EventListener): | |
TIMEOUT_MS = 200 | |
def __init__(self): |
NewerOlder