Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn authored Feb 20, 2024
1 parent 2bf0d2f commit 3e8031c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion C/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Add `#define FNL_IMPL` before including `FastNoiseLite.h` in exactly one source file, or you will get linker errors

## Getting Started

Here's an example for creating a 128x128 array of OpenSimplex2 noise
Expand All @@ -23,4 +25,4 @@ for (int y = 0; y < 128; y++)

// Free data later
free(noiseData);
```
```

0 comments on commit 3e8031c

Please sign in to comment.