Skip to content

Commit

Permalink
removing new line
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekPachowiak authored Jan 31, 2023
1 parent b50584b commit a864498
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 09/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ So let's say we want to imitate a brick wall. Looking at the wall, you can see a

![](brick.jpg)

As a first step we need to know if the row of our thread is an even or odd number, because we can use that to determine if we need to offset the x in that row.
For that we are going to use [```mod()```](../glossary/?search=mod) of ```2.0``` and then see if the result is under ```1.0``` or not. Take a look at the following formula and uncomment the two last lines.
As a first step we need to know if the row of our thread is an even or odd number, because we can use that to determine if we need to offset the x in that row. For that we are going to use [```mod()```](../glossary/?search=mod) of ```2.0``` and then see if the result is under ```1.0``` or not. Take a look at the following formula and uncomment the two last lines.

<div class="simpleFunction" data="y = mod(x,2.0);
// y = mod(x,2.0) < 1.0 ? 0. : 1. ;
Expand Down

0 comments on commit a864498

Please sign in to comment.