Skip to content

Refactor vec3 class #215

@hollasch

Description

@hollasch

Related issues:

Need to refactor the (now common) vec3 class, some in preparation for issues above. For example, this will address some of the color functionality that we'd like to add (by inheritance or something else).

  • Separate declaration from definition — create new src/common/vec3.cpp which contains definitions of many of the vec3 methods. Simple function definitions should be defined in-class (implicitly/possibly inlined).

  • Eliminate explicit inline keyword

  • Cull unused methods

  • Other miscellaneous

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions