MCPcopy Create free account
hub / github.com/WheretIB/nullc / __operatorSet

Function __operatorSet

NULLC/translation/std_math.cpp:2866–2870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2864 return float4__(*(&x_0), *(&(&yzw_4)->x), *(&(&yzw_4)->y), *(&(&yzw_4)->z), (void*)0);
2865}
2866float4 * __operatorSet(float4 * a_0, double_4_ xyzw_4, void* unused)
2867{
2868 *(*(&a_0)) = float4__((float )(*(&(&xyzw_4)->ptr[__nullcIndex(0, 4u)])), (float )(*(&(&xyzw_4)->ptr[__nullcIndex(1, 4u)])), (float )(*(&(&xyzw_4)->ptr[__nullcIndex(2, 4u)])), (float )(*(&(&xyzw_4)->ptr[__nullcIndex(3, 4u)])), (void*)0);
2869 return __nullcCheckedRet(__nullcTR[121], (*(&a_0)), (void*)&a_0, (void*)&xyzw_4, (void*)&unused, 0);
2870}
2871float3 reflect(float3 normal_0, float3 dir_12, void* unused)
2872{
2873 return __operatorSub(*(&dir_12), __operatorMul((float )((2.000000) * (double )(dot(&normal_0, &dir_12, (void*)0))), *(&normal_0), (void*)0), (void*)0);

Callers

nothing calls this directly

Calls 3

float4__Function · 0.85
__nullcIndexFunction · 0.85
__nullcCheckedRetFunction · 0.85

Tested by

no test coverage detected