Skip to content

Book1 Listing 65: vup is not defined yet #686

@estshorter

Description

@estshorter

I think vup is not defined yet.

camera cam(point3(-2,2,1), point3(0,0,-1), vup, 20, aspect_ratio);

The above should be

camera cam(point3(-2,2,1), point3(0,0,-1), vec3(0,1,0), 20, aspect_ratio);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions