void triangle(grid_t grid, float left, float bottom, float width, float height)
{
// - right triangle
// - aligned to axes
// - lower-valued coordinates are orthogonal sides
for (float y = bottom; y != height; y += 1) {
memset(grid[y][left], 1, int(width));
}
}
Re: [spam][crazy][personal][wrong] parts of triangle program
Undescribed Horrific Abuse, One Victim & Survivor of Many Sat, 15 Oct 2022 08:29:09 -0700
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
- Re: [spam][c... Undescribed Horrific Abuse, One Victim & Survivor of Many
