Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

clarified update function #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tpltnt
Copy link
Contributor

@tpltnt tpltnt commented Mar 28, 2020

Hi there,

I updated the "anatomy of a nannou app" section to clarify the use/intention of the update() function. This is in response to the short exchange in the chat.

Cheers,
tpltnt

Copy link
Member

@mitchmindtree mitchmindtree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! Just a minor edit required

@@ -206,7 +206,7 @@ will just return an instance of our empty **Model**.
> You can learn more about what the **App** is responsible for and capable of
> [here](https://docs.rs/nannou/latest/nannou/app/struct.App.html).

## **event** - updating the Model on app events
## **update** and **event** - updating the Model (on app events)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for backets

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants