Open
Description
Environment:
N/A. This is a documentation issue only. No code execution involved.
Current behavior:
The documentation for pygame.math.lerp
currently states the formula as a * value + (1 - value) * b
, which appears to be incorrect.
Expected behavior:
The formula should read as b * value + (1 - value) * a
, which matches the standard linear interpolation formula and avoids confusion for documentation readers.
Screenshots
No screenshots provided (documentation text issue).
Steps to reproduce:
- Visit pygame.math.lerp documentation
- Observe the formula provided in the documentation.
Test code
Not applicable (documentation issue).
Stack trace/error output/other error logs
Not applicable.
Additional environment details:
N/A
Other environment details, not included in print_debug_info()
, that might help:
- Relevant hardware: N/A (documentation only)
Metadata
Metadata
Assignees
Labels
No labels