| 156 | [return: MarshalAs(UnmanagedType.Bool)] |
| 157 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool mesh_ray_intersect (IntPtr mesh, Ray model_space_ray, out Ray out_pt, out uint out_start_inds, Cull cull_mode); |
| 158 | [return: MarshalAs(UnmanagedType.Bool)] |
| 159 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool mesh_get_triangle (IntPtr mesh, uint triangle_index, out Vertex a, out Vertex b, out Vertex c); |
| 160 | |
| 161 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_plane (Vec2 dimensions, Vec3 plane_normal, Vec3 plane_top_direction, int subdivisions, [MarshalAs(UnmanagedType.Bool)] bool double_sided); |
| 162 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr mesh_gen_circle (float diameter, Vec3 plane_normal, Vec3 plane_top_direction, int spokes, [MarshalAs(UnmanagedType.Bool)] bool double_sided); |