Skip to contents

Check if point is inside a triangle.

Usage

check_collision_point_triangle(point, p_1, p_2, p_3)

Arguments

point

A numeric vector of length 2.

p_1

A numeric vector of length 2.

p_2

A numeric vector of length 2.

p_3

A numeric vector of length 2.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool CheckCollisionPointTriangle(Vector2 point, Vector2 p1, Vector2 p2, Vector2 p3);