Skip to content

Conversation

@nikitavbv
Copy link
Collaborator

No description provided.

@nikitavbv nikitavbv changed the base branch from master to dev May 25, 2019 08:44
@nikitavbv nikitavbv requested a review from Brookoko May 25, 2019 08:44

import labs.introtoprogramming.lab5.geometry.Vector3;

public interface Camera {
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe make it an abstract class or a class that extends SceneObject? I think it is logical to treat camera as part of scene and manipulate it.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My initial assumption was that we will need objects on scene to be divided into three categories:

  • regular objects, which are rendered
  • camera (s)
  • lights, which are accessed when computing shadows.
    But since all of them share some common properties, it is a good idea indeed to make them extend the same class.

@Brookoko Brookoko merged commit ac0d141 into dev May 25, 2019
@Brookoko Brookoko deleted the structure branch May 25, 2019 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants