Home
last modified time | relevance | path

Searched refs:tex_st (Results 1 – 7 of 7) sorted by relevance

/dports/games/cake/cake_src/cake/
H A Doverlay.cpp99 verts[num_verts + 0].tex_st[0] = 0.0f; in Quad()
100 verts[num_verts + 0].tex_st[1] = 0.0f; in Quad()
109 verts[num_verts + 1].tex_st[0] = repx; in Quad()
110 verts[num_verts + 1].tex_st[1] = 0.0f; in Quad()
119 verts[num_verts + 2].tex_st[0] = 0.0f; in Quad()
120 verts[num_verts + 2].tex_st[1] = repy; in Quad()
129 verts[num_verts + 3].tex_st[0] = repx; in Quad()
130 verts[num_verts + 3].tex_st[1] = repy; in Quad()
224 verts[num_verts + 0].tex_st[0] = xpos; in String()
225 verts[num_verts + 0].tex_st[1] = ypos; in String()
[all …]
H A Dskybox.cpp333 v->tex_st[0] = w[0]/(2.f * (float) SCALE_S); in GenBoxSide()
334 v->tex_st[1] = w[1]/(2.f * (float) SCALE_T); in GenBoxSide()
360 v->tex_st[0] = (float)r; in GenBoxSide()
361 v->tex_st[1] = (float)c; in GenBoxSide()
365 v->tex_st[0] = 1-(float)r; in GenBoxSide()
366 v->tex_st[1] = 1-(float)c; in GenBoxSide()
370 v->tex_st[0] = 1-(float)c; in GenBoxSide()
371 v->tex_st[1] = (float)r; in GenBoxSide()
H A Dmd3.cpp220 mesh->firstvert[l][i].tex_st[0] = texcoords[i][0]; in ReadMD3Data()
221 mesh->firstvert[l][i].tex_st[1] = texcoords[i][1]; in ReadMD3Data()
H A Drender.cpp149 input.tex_st = NULL; in Render()
212 if (input.tex_st) cake_free(input.tex_st); input.tex_st = NULL; in ~Render()
429 …input.tex_st = (float*) cake_realloc(input.tex_st, (newsize<<1)*sizeof(float), "gRender->Incre… in IncreaseBuffer()
447 …input.tex_st = (float*) cake_malloc((newsize<<1)*sizeof(float), "gRender->IncreaseBuffer.tex_s… in IncreaseBuffer()
469 …failed = (!failed && (!input.xyz || !input.tex_st || !input.lm_st || !input.normal || !input.c || … in IncreaseBuffer()
870 st = &input.tex_st[input.numverts<<1]; in PushTriangles()
874 TexcoordCopy(v->tex_st, st); in PushTriangles()
1463 float *st = &input.tex_st[input.numverts<<1]; in SetVertexCoords()
1696 memcpy(buffer[tmu].st, input.tex_st, sizeof(float)*(input.numverts<<1)); in SetTextureCoordinates()
H A Drender.h108 float* tex_st; /**< 2 texture coordinates */ member
H A Dtypes.h135 texcoord_t tex_st; /**< surface texture coords */ member
H A Dq3bsp.cpp1908 TexcoordCopy(verts[i].tex_st, r_verts[i].tex_st); in LoadVerts()
2162 Vector2Copy(v->tex_st, in_tex_st[n]); in BuildBezierPatch()
2236 Vector2Copy(tmp_buffer[n], surf->firstvert[lvl][n].tex_st); in BuildBezierPatch()