mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[renderer] Remove some redundant comments
No need for comments when the code says it all.
This commit is contained in:
parent
f15abcea53
commit
bc1fe6aa01
1 changed files with 6 additions and 6 deletions
|
@ -74,37 +74,37 @@ static float tan_fov_x, tan_fov_y;
|
||||||
|
|
||||||
static mat4f_t box_rotations[] = {
|
static mat4f_t box_rotations[] = {
|
||||||
[BOX_FRONT] = {
|
[BOX_FRONT] = {
|
||||||
{ 1, 0, 0, 0}, // front
|
{ 1, 0, 0, 0},
|
||||||
{ 0, 1, 0, 0},
|
{ 0, 1, 0, 0},
|
||||||
{ 0, 0, 1, 0},
|
{ 0, 0, 1, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
},
|
},
|
||||||
[BOX_RIGHT] = {
|
[BOX_RIGHT] = {
|
||||||
{ 0,-1, 0, 0}, // right
|
{ 0,-1, 0, 0},
|
||||||
{ 1, 0, 0, 0},
|
{ 1, 0, 0, 0},
|
||||||
{ 0, 0, 1, 0},
|
{ 0, 0, 1, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
},
|
},
|
||||||
[BOX_BEHIND] = {
|
[BOX_BEHIND] = {
|
||||||
{-1, 0, 0, 0}, // back
|
{-1, 0, 0, 0},
|
||||||
{ 0,-1, 0, 0},
|
{ 0,-1, 0, 0},
|
||||||
{ 0, 0, 1, 0},
|
{ 0, 0, 1, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
},
|
},
|
||||||
[BOX_LEFT] = {
|
[BOX_LEFT] = {
|
||||||
{ 0, 1, 0, 0}, // left
|
{ 0, 1, 0, 0},
|
||||||
{-1, 0, 0, 0},
|
{-1, 0, 0, 0},
|
||||||
{ 0, 0, 1, 0},
|
{ 0, 0, 1, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
},
|
},
|
||||||
[BOX_TOP] = {
|
[BOX_TOP] = {
|
||||||
{ 0, 0, 1, 0}, // top
|
{ 0, 0, 1, 0},
|
||||||
{ 0, 1, 0, 0},
|
{ 0, 1, 0, 0},
|
||||||
{-1, 0, 0, 0},
|
{-1, 0, 0, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
},
|
},
|
||||||
[BOX_BOTTOM] = {
|
[BOX_BOTTOM] = {
|
||||||
{ 0, 0,-1, 0}, // bottom
|
{ 0, 0,-1, 0},
|
||||||
{ 0, 1, 0, 0},
|
{ 0, 1, 0, 0},
|
||||||
{ 1, 0, 0, 0},
|
{ 1, 0, 0, 0},
|
||||||
{ 0, 0, 0, 1}
|
{ 0, 0, 0, 1}
|
||||||
|
|
Loading…
Reference in a new issue