mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-12-22 22:16:37 +00:00
Remove unnecessary math with custom characters
This commit is contained in:
parent
552578345e
commit
f74b376cad
2
lavat.c
2
lavat.c
@ -90,7 +90,7 @@ int main(int argc, char *argv[]) {
|
|||||||
// calculate the two halfs of the block at the same time
|
// calculate the two halfs of the block at the same time
|
||||||
float sum[2] = {0};
|
float sum[2] = {0};
|
||||||
|
|
||||||
for (int j2 = 0; j2 < 2; j2++) {
|
for (int j2 = 0; j2 < (!custom ? 2 : 1); j2++) {
|
||||||
|
|
||||||
for (int k = 0; k < nballs; k++) {
|
for (int k = 0; k < nballs; k++) {
|
||||||
int y = j * 2 + j2;
|
int y = j * 2 + j2;
|
||||||
|
Loading…
Reference in New Issue
Block a user