Skip to content

A small bug in the pbrtdemoapp. #15

@zheng95z

Description

@zheng95z

float3 camPos = renderer->GetCamera()->position;
float3 camDir = renderer->GetCamera()->direction;

I think this should be:

float3 camPos = renderer->GetCamera()->transform.GetTranslation();
float3 camDir = renderer->GetCamera()->transform.GetForward();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions