Clean up trailing whitespace
This commit is contained in:
parent
4b2db87c9e
commit
afc9aec314
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
in vec3 colorF;
|
||||
out vec3 color;
|
||||
|
||||
void main() {
|
||||
void main() {
|
||||
color = colorF;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ neural_new(size_t input_size, size_t output_size, size_t layer_count) {
|
|||
+ (layer_diff * i / ((ssize_t)layer_count-1)),
|
||||
|
||||
i < (layer_count-1) ?
|
||||
(input_size + (layer_diff * (i+1)
|
||||
(input_size + (layer_diff * (i+1)
|
||||
/ ((ssize_t)layer_count-1)))
|
||||
: 0);
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ neural_getMesh(Neural_Network *nn, ModelRegistry *mr) {
|
|||
for (int j = 0; j < nn->layer_count; j++) {
|
||||
Neural_Layer *nl = nn->layers[j];
|
||||
for (int i = 0; i < nl->layer_size; i++) {
|
||||
unsigned int brightness;
|
||||
unsigned int brightness;
|
||||
for (int k = 0; k < nl->layer_size_next; k++) {
|
||||
model = model_line((-.90)
|
||||
+ ((GLfloat)2 * i * .90/(nl->layer_size-1)),
|
||||
|
|
|
@ -25,7 +25,7 @@ tensor_fromVertexBuffer(float *buffer, size_t bufsize) {
|
|||
mat_width = bufsize;
|
||||
|
||||
mat = tensor_new(4, mat_width);
|
||||
|
||||
|
||||
for (int i = 0; i < bufsize; i++) {
|
||||
for (int j = 0; j < 4; j++) {
|
||||
mat->data[j*mat_width+i] = buffer[i*4+j];
|
||||
|
|
Loading…
Reference in a new issue