2021-07-23 16:43:01 +00:00
|
|
|
struct modf_result {
|
|
|
|
float fract;
|
|
|
|
float whole;
|
|
|
|
};
|
2021-06-09 18:53:57 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
2022-11-23 00:05:05 +00:00
|
|
|
const modf_result res = {0.230000019f, 1.0f};
|
2021-07-23 16:43:01 +00:00
|
|
|
const float fract = res.fract;
|
|
|
|
const float whole = res.whole;
|
2021-06-09 18:53:57 +00:00
|
|
|
return;
|
|
|
|
}
|