diff --git a/lib/Raylib/FFI.pm b/lib/Raylib/FFI.pm index 7c2aaf3..3b48f34 100644 --- a/lib/Raylib/FFI.pm +++ b/lib/Raylib/FFI.pm @@ -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' ], @@ -1034,7 +1035,7 @@ my %functions = ( # audio device management InitAudioDevice => [ [] => 'void' ], CloseAudioDevice => [ [] => 'void' ], - IsAudioDeviceValid => [ [] => 'bool' ], + IsAudioDeviceReady => [ [] => 'bool' ], SetMasterVolume => [ ['float'] => 'void' ], GetMasterVolume => [ [] => 'float' ], @@ -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 @@ -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 @@ -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