UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

143 lines (142 loc) 2.38 kB
var r, t; function c() { if (t) return r; t = 1; function n(e) { const o = [ "abs", "acos", "ambient", "area", "asin", "atan", "atmosphere", "attribute", "calculatenormal", "ceil", "cellnoise", "clamp", "comp", "concat", "cos", "degrees", "depth", "Deriv", "diffuse", "distance", "Du", "Dv", "environment", "exp", "faceforward", "filterstep", "floor", "format", "fresnel", "incident", "length", "lightsource", "log", "match", "max", "min", "mod", "noise", "normalize", "ntransform", "opposite", "option", "phong", "pnoise", "pow", "printf", "ptlined", "radians", "random", "reflect", "refract", "renderinfo", "round", "setcomp", "setxcomp", "setycomp", "setzcomp", "shadow", "sign", "sin", "smoothstep", "specular", "specularbrdf", "spline", "sqrt", "step", "tan", "texture", "textureinfo", "trace", "transform", "vtransform", "xcomp", "ycomp", "zcomp" ], a = [ "matrix", "float", "color", "point", "normal", "vector" ], i = [ "while", "for", "if", "do", "return", "else", "break", "extern", "continue" ], s = { match: [ /(surface|displacement|light|volume|imager)/, /\s+/, e.IDENT_RE ], scope: { 1: "keyword", 3: "title.class" } }; return { name: "RenderMan RSL", keywords: { keyword: i, built_in: o, type: a }, illegal: "</", contains: [ e.C_LINE_COMMENT_MODE, e.C_BLOCK_COMMENT_MODE, e.QUOTE_STRING_MODE, e.APOS_STRING_MODE, e.C_NUMBER_MODE, { className: "meta", begin: "#", end: "$" }, s, { beginKeywords: "illuminate illuminance gather", end: "\\(" } ] }; } return r = n, r; } export { c as __require }; //# sourceMappingURL=rsl.mjs.map