vector */
| 2291 | |
| 2292 | /* vector */ |
| 2293 | bv_variable lib_common_cross(bv_program* prog, u8 count, bv_variable* args) |
| 2294 | { |
| 2295 | /* vec3 cross(vec3, vec3) */ |
| 2296 | glm::vec3 x = sd::AsVector<3, float>(args[0]); |
| 2297 | glm::vec3 y = sd::AsVector<3, float>(args[1]); |
| 2298 | |
| 2299 | return Common::create_float3(prog, glm::cross(x, y)); |
| 2300 | } |
| 2301 | bv_variable lib_common_distance(bv_program* prog, u8 count, bv_variable* args) |
| 2302 | { |
| 2303 | /* float distance(genType) */ |
nothing calls this directly
no test coverage detected