.. _program_listing_file_src_primitives_triangle.h: Program Listing for File triangle.h =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/primitives/triangle.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include "tal/arrays.h" #include "tal/vector3.h" namespace sota { struct Triangle { Vector3 a; Vector3 b; Vector3 c; Vector3Array to_godot_array() const { return Vector3Array{a, b, c}; } }; } // namespace sota