godot icon indicating copy to clipboard operation
godot copied to clipboard

Add half precision floating point support to `StreamPeer`

Open pafuent opened this issue 1 year ago • 1 comments

Closes godotengine/godot-proposals#5983

Adds put/get methods to StreamPeer that handles half precision floating point values. Adds endode/decode half precision floating point to marshalls.

This PR is rebase into master of #78872. Also I added unit tests to it.

pafuent avatar Oct 02 '24 03:10 pafuent

PackedByteArray already have those: encode_half binded here and implemented here decode_half binded here and implemented here

pafuent avatar Oct 02 '24 10:10 pafuent

We should change the title and the topics since now it also modifies FileAccess (core)

radiantgurl avatar Oct 03 '24 17:10 radiantgurl

Friendly remainder

pafuent avatar Oct 17 '24 18:10 pafuent

Friendly reminder

pafuent avatar Nov 19 '24 11:11 pafuent

It's now queued for merging, thanks for your patience :)

akien-mga avatar Nov 22 '24 16:11 akien-mga

Thanks!

Repiteo avatar Nov 22 '24 21:11 Repiteo