mirror of
https://github.com/AngelJumbo/lavat.git
synced 2024-11-16 12:46:39 +00:00
Remove unnecessary math with custom characters
This commit is contained in:
parent
324fcbb4b9
commit
ac08d79ad4
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