Closed
Bug 1838100
Opened 2 years ago
Closed 2 years ago
[meta] Use Coord in the interface of BasePoint where appropriate
Categories
(Core :: Graphics, task, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
People
(Reporter: botond, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
This is a meta bug to track using strongly-typed coordinates in the interface of BasePoint
where appropriate. Specific changes will be made in dependent bugs.
Reporter | ||
Comment 1•2 years ago
|
||
This one is complete. The remaining uses of T
in the BasePoint
interface are:
- Parameter types of
operator*
andoperator/
. Here, the argument represents a scale factor, not a coordinate, so usingCoord
would be inappropriate. - Return types of
DotProduct()
andLengthSquare()
. Here, the value returned is not conceptually a coordinate (its units would be something like "coordinate squared"), so usingCoord
would again be inappropriate.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•