Skip to content

day2: Implement remaining mathematical operations #4

@t-flora

Description

@t-flora
  • Implement dot(a, b) as free function
  • Implement cross(a, b) for 3D vectors
  • Implement length_squared(v) and length(v)
  • Add distance(a, b) and distance_squared(a, b)
  • Implement scalar multiplication from left: scalar * vec
  • Add type aliases: Vec3f, Vec3d, Vec3i

Success criteria: All common vector math operations work correctly

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