mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
25 lines
523 B
Text
25 lines
523 B
Text
attribute vec3 _in_position;
|
|
uniform mat4 mtx;
|
|
void main ()
|
|
{
|
|
mat4 m_1;
|
|
mat4 tmpvar_2;
|
|
tmpvar_2 = mtx;
|
|
m_1 = tmpvar_2;
|
|
vec4 tmpvar_3;
|
|
tmpvar_3 = m_1[0]; tmpvar_3.w = 0.0;
|
|
m_1[0] = tmpvar_3;
|
|
vec4 tmpvar_4;
|
|
tmpvar_4 = m_1[0]; tmpvar_4.z = tmpvar_3[3];
|
|
m_1[0] = tmpvar_4;
|
|
vec4 tmpvar_5;
|
|
tmpvar_5 = m_1[0]; tmpvar_5.y = tmpvar_4[2];
|
|
m_1[0] = tmpvar_5;
|
|
vec4 tmpvar_6;
|
|
tmpvar_6.w = 1.0;
|
|
tmpvar_6.xyz = _in_position.xyz;
|
|
vec4 tmpvar_7;
|
|
tmpvar_7 = (m_1 * tmpvar_6);
|
|
gl_Position = tmpvar_7;
|
|
}
|
|
|