update to raylib 4.2

This commit is contained in:
richard 2022-08-11 21:58:54 +01:00
parent 3a6deb2c04
commit 3e011b329a
19 changed files with 78 additions and 49 deletions

View file

@ -7,7 +7,7 @@ ARROWS_SIZE: int
ARROWS_VISIBLE: int
ARROW_PADDING: int
def AttachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
""""""
"""Attach audio stream processor to stream"""
...
BACKGROUND_COLOR: int
BASE_COLOR_DISABLED: int
@ -186,7 +186,7 @@ def DestroyPhysicsBody(PhysicsBodyData_pointer_0: Any,) -> None:
CFFI C function from raylib._raylib_cffi.lib"""
...
def DetachAudioStreamProcessor(stream: AudioStream,processor: Any,) -> None:
""""""
"""Detach audio stream processor from stream"""
...
def DirectoryExists(dirPath: str,) -> bool:
"""Check if a directory path exists"""
@ -589,9 +589,6 @@ def GenImageGradientV(width: int,height: int,top: Color,bottom: Color,) -> Image
def GenImageWhiteNoise(width: int,height: int,factor: float,) -> Image:
"""Generate image: white noise"""
...
def GenMeshBinormals(mesh: Any,) -> None:
"""Compute mesh binormals"""
...
def GenMeshCone(radius: float,height: float,slices: int,) -> Mesh:
"""Generate cone/pyramid mesh"""
...
@ -1895,9 +1892,6 @@ def LoadSound(fileName: str,) -> Sound:
def LoadSoundFromWave(wave: Wave,) -> Sound:
"""Load sound from wave data"""
...
def LoadStorageValue(position: int,) -> int:
"""Load integer value from storage file (from defined position)"""
...
def LoadTexture(fileName: str,) -> Texture:
"""Load texture from file into GPU memory (VRAM)"""
...
@ -2454,9 +2448,6 @@ def SaveFileData(fileName: str,data: Any,bytesToWrite: int,) -> bool:
def SaveFileText(fileName: str,text: str,) -> bool:
"""Save text data to file (write), string must be '\0' terminated, returns true on success"""
...
def SaveStorageValue(position: int,value: int,) -> bool:
"""Save integer value to storage file (to defined position), returns true on success"""
...
def SeekMusicStream(music: Music,position: float,) -> None:
"""Seek music to a position (in seconds)"""
...
@ -3097,6 +3088,11 @@ CFFI C function from raylib._raylib_cffi.lib"""
def Vector3Refract(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
"""struct Vector3 Vector3Refract(struct Vector3, struct Vector3, float);
CFFI C function from raylib._raylib_cffi.lib"""
...
def Vector3RotateByAxisAngle(Vector3_0: Vector3,Vector3_1: Vector3,float_2: float,) -> Vector3:
"""struct Vector3 Vector3RotateByAxisAngle(struct Vector3, struct Vector3, float);
CFFI C function from raylib._raylib_cffi.lib"""
...
def Vector3RotateByQuaternion(Vector3_0: Vector3,Vector4_1: Vector4,) -> Vector3: