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

Function float4__

NULLC/translation/std_math.cpp:2769–2777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2767 return float4__float4_float4_ref_float_float_float_float_(*(&(*(&__context))->w), *(&(*(&__context))->w), *(&(*(&__context))->w), *(&(*(&__context))->w), (float4 * )(*(&__context)));
2768}
2769float4 float4__(float x_0, float y_4, float z_8, float w_12, void* unused)
2770{
2771 float4 ret_20;
2772 *(&(&ret_20)->x) = *(&x_0);
2773 *(&(&ret_20)->y) = *(&y_4);
2774 *(&(&ret_20)->z) = *(&z_8);
2775 *(&(&ret_20)->w) = *(&w_12);
2776 return *(&ret_20);
2777}
2778float4 __operatorAdd(float4 a_0, float4 b_16, void* unused)
2779{
2780 return float4__((*(&(&a_0)->x)) + (*(&(&b_16)->x)), (*(&(&a_0)->y)) + (*(&(&b_16)->y)), (*(&(&a_0)->z)) + (*(&(&b_16)->z)), (*(&(&a_0)->w)) + (*(&(&b_16)->w)), (void*)0);

Callers 5

__operatorAddFunction · 0.85
__operatorSubFunction · 0.85
__operatorMulFunction · 0.85
__operatorDivFunction · 0.85
__operatorSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected