|
Size: 906
Comment: minor change
|
Size: 665
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to swap byte order from little-endian to native. | Use this function to swap the byte order of a little endian floating point value to native ordering. |
| Line 16: | Line 15: |
| ||'''x'''||the data to be swapped|| | ||'''x'''||the value to be swapped|| |
| Line 19: | Line 18: |
| Returns the data in a native format the compiler will accept. ??? | Returns the native floating point value. |
| Line 29: | Line 28: |
| ??? This is mainly to keep compilers from complaining in SDL code. If there is no real 64-bit datatype, then compilers will complain about the fake 64-bit datatype that SDL provides when it compiles user code. |
|
| Line 32: | Line 29: |
| .[[SDL_SwapFloat]] |
SDL_SwapFloatLE
Use this function to swap the byte order of a little endian floating point value to native ordering.
Contents
Syntax
float SDL_SwapFloatLE(float x)
Function Parameters
x |
the value to be swapped |
Return Value
Returns the native floating point value.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
