Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
-
Read along: The Nature of Code: Chapter 5, Section 3
Confused by this video?
Post any questions or comments here.
-
Read along: The Nature of Code: Chapter 5, Section 4
Task | Function |
---|---|
Convert location from World to Pixels | Vec2 coordWorldToPixels(Vec2 world) |
Convert location from World to Pixels | Vec2 coordWorldToPixels(float worldX, float worldY) |
Convert location from Pixels to World | Vec2 coordPixelsToWorld(Vec2 screen) |
Convert location from Pixels to World | Vec2 coordPixelsToWorld(float pixelX, float pixelY) |
Scale a dimension (such as height, width, or radius) from Pixels to World | float scalarPixelsToWorld(float val) |
Scale a dimension from World to Pixels | float scalarWorldToPixels(float val) |
Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
Confused by this video?
Post any questions or comments here.
For this week, you should begin working on your midterm project. As an experiment, I’d like to try seeding a little online discussion about midterm ideas. Please visit the following link and make a post and comment on other posts:
If you are struggling for ideas, here are some links to midterm projects from last year: