yum-slop/TaSTT

Free self-hosted STT for VRChat.

git clone https://git.yummers.dev/yum-slop/TaSTT

yumAdd ray-marched custom chatbox3bf013d

v0.19.2
420 B19 linesraw
1#ifndef __STT_GENERATED_INC__
2#define __STT_GENERATED_INC__
3
4// %TEMPLATE__CG_ROW_COL_CONSTANTS%
5
6// %TEMPLATE__CG_ROW_COL_PARAMS%
7
8// Get the value of the parameter for the cell we're in.
9uint GetLetterParameter(float2 uv)
10{
11  float CHAR_COL = floor(uv.x * BOARD_NCOLS);
12  float CHAR_ROW = floor(uv.y * BOARD_NROWS);
13  int res = 0;
14
15  // %TEMPLATE__CG_LETTER_ACCESSOR%
16  return res;
17}
18
19#endif  // __STT_GENERATED_INC__