mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
[renderer] Fix a comment typo and add a fixme
This commit is contained in:
parent
20c861027e
commit
52b7f7f308
2 changed files with 3 additions and 1 deletions
|
@ -598,7 +598,7 @@ in vec2 uv;
|
|||
void
|
||||
main ()
|
||||
{
|
||||
// slight offset on y is to avoid the singularity straight aheat
|
||||
// slight offset on y is to avoid the singularity straight ahead
|
||||
vec2 xy = (2.0 * uv - vec2 (1, 1.00002)) * (vec2(1, -aspect));
|
||||
float r = sqrt (dot (xy, xy));
|
||||
vec2 cs = vec2 (cos (r * fov), sin (r * fov));
|
||||
|
|
|
@ -184,6 +184,8 @@ reset_sw_components (ecs_registry_t *reg)
|
|||
pool->count = 0; // remove component from every entity
|
||||
// reserve first component object (render id 0) for the world
|
||||
// pseudo-entity.
|
||||
//FIXME takes advantage of the lack of checks for the validity of the
|
||||
//entity id.
|
||||
Ent_SetComponent (0, sw_comps[i], reg, 0);
|
||||
// make sure entity 0 gets allocated a new component object as the
|
||||
// world pseudo-entity currently has no actual entity (FIXME)
|
||||
|
|
Loading…
Reference in a new issue