Difference between revisions of "Render Part C Assignment"

From CSE425S Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
===calculate_local_bounds===
 
===calculate_local_bounds===
 
==Scene==
 
==Scene==
===calculate_local_bounds===
+
===calculate_bounds===
 +
 
 
==ConvexPolygon==
 
==ConvexPolygon==
 
===render_transformed===
 
===render_transformed===
 
===calculate_local_bounds===
 
===calculate_local_bounds===

Revision as of 04:39, 17 July 2019

In this studio we will evolve our code from Render_Part_B_Assignment to add new methods and a new class.

Render part c class hierarchy.svg

Continue editing files in the render/assignment directory.

Code to Implement

Transform

move

calculate_bounds

Rectangle

calculate_local_bounds

CompositeTransform

calculate_local_bounds

Scene

calculate_bounds

ConvexPolygon

render_transformed

calculate_local_bounds