Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions lib/Raylib/FFI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ my %functions = (
ColorContrast => [ [ 'Color', 'float' ] => 'Color' ],
ColorAlpha => [ [ 'Color', 'float' ] => 'Color' ],
ColorAlphaBlend => [ [ 'Color', 'Color', 'Color' ] => 'Color' ],
ColorLerp => [ [ 'Color', 'Color', 'float' ] => 'Color' ],
GetColor => [ ['int'] => 'Color' ],
GetPixelColor => [ [ 'Image', 'int', 'int' ] => 'Color' ],
SetPixelColor => [ [ 'Image', 'int', 'int', 'Color' ] => 'void' ],
Expand Down Expand Up @@ -1034,7 +1035,7 @@ my %functions = (
# audio device management
InitAudioDevice => [ [] => 'void' ],
CloseAudioDevice => [ [] => 'void' ],
IsAudioDeviceValid => [ [] => 'bool' ],
IsAudioDeviceReady => [ [] => 'bool' ],
SetMasterVolume => [ ['float'] => 'void' ],
GetMasterVolume => [ [] => 'float' ],

Expand Down Expand Up @@ -2557,6 +2558,10 @@ Get src alpha-blended into dst color with tint

Get Color structure from hexadecimal value

=head2 ColorLerp( $color1, $color2, $factor ) : Raylib::FFI::Color

Get color lerp interpolation between two colors, factor [0.0f..1.0f]

=head2 GetColor( $hexValue ) : Raylib::FFI::Color

Get Color structure from hexadecimal value
Expand Down Expand Up @@ -2729,15 +2734,15 @@ Draw cube (Vector version)

Draw cube wires

=head DrawSphere( $centerPos, $radius, $color )
=head2 DrawSphere( $centerPos, $radius, $color )

Draw sphere

=head DrawSphereEx( $centerPos, $radius, $rings, $segments, $color )
=head2 DrawSphereEx( $centerPos, $radius, $rings, $segments, $color )

Draw sphere with extended parameters

=head DrawSphereWires( $centerPos, $radius, $rings, $segments, $color )
=head2 DrawSphereWires( $centerPos, $radius, $rings, $segments, $color )

Draw sphere wires

Expand Down Expand Up @@ -2981,7 +2986,7 @@ Initialize audio device and context

Close the audio device and context

=head2 IsAudioDeviceValid() : bool
=head2 IsAudioDeviceReady() : bool

Check if audio device has been initialized successfully

Expand Down
Loading