Skip to content

Document vfpu - #42

Merged
dogo merged 1 commit into
masterfrom
feature/doc-vfpu
Sep 1, 2024
Merged

Document vfpu#42
dogo merged 1 commit into
masterfrom
feature/doc-vfpu

Conversation

@dogo

@dogo dogo commented Sep 1, 2024

Copy link
Copy Markdown
Owner

This PR introduces a set of optimized mathematical functions that leverage the PSP's Vector Floating Point Unit (VFPU) for fast computation of trigonometric operations. The main functions added are:

  • oslVfpu_sinf: Calculates the sine of an angle (in radians) multiplied by a radius.
  • oslVfpu_cosf: Calculates the cosine of an angle (in radians) multiplied by a radius.

These functions are specifically designed for high performance on the PSP platform, making them ideal for scenarios requiring efficient trigonometric calculations.

Key Features:

  • Optimized for PSP: Uses the VFPU, ensuring very fast execution.
  • Trigonometric Calculations: Provides sine and cosine functions with support for radians and a scaling radius.
  • Doxygen Documentation: The code is fully documented, facilitating easy understanding and maintenance.

This PR is a significant enhancement for projects requiring precise and fast mathematical operations on the PSP, particularly in graphics or physics simulations.

@dogo
dogo merged commit b798cdf into master Sep 1, 2024
@dogo
dogo deleted the feature/doc-vfpu branch September 1, 2024 00:31
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.

1 participant