Round and pubsub lib.

This commit is contained in:
jussi
2024-03-17 10:38:30 +02:00
parent ca238975dc
commit ae1d0b65f1
18 changed files with 123 additions and 28 deletions

22
API.md
View File

@@ -273,6 +273,18 @@ ModelAnimation
---
> AutomationEvent = Userdata
Automation event
---
> AutomationEventList = Userdata
Automation event list
---
> Buffer = Buffer userdata
Data buffer for C primitive types. Type should be one of the Buffer types.
@@ -4591,7 +4603,7 @@ Get automation event list count
> event = RL.GetAutomationEvent( AutomationEventList list, int index )
Get automation event from automation event list
Get automation event from automation event list. Return as lightuserdata
- Failure return nil
- Success return AutomationEvent
@@ -8077,6 +8089,14 @@ Get current music time played (in seconds)
---
> result = RL.Round( float value )
Round float value
- Success return float
---
> result = RL.Clamp( float value, float min, float max )
Clamp float value