19 lines
278 B
Plaintext
19 lines
278 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
struct modf_result {
|
||
|
float fract;
|
||
|
float whole;
|
||
|
};
|
||
|
modf_result tint_modf(float param_0) {
|
||
|
float whole;
|
||
|
float fract = modf(param_0, whole);
|
||
|
return {fract, whole};
|
||
|
}
|
||
|
|
||
|
void i() {
|
||
|
float const s = tint_modf(1.0f).whole;
|
||
|
}
|
||
|
|