ScratchData LogoScratchData
Back to jjhs3213's profile

ベクトルA→Bに対する点Pの左右判定

JJjjhs3213•Created January 23, 2024
ベクトルA→Bに対する点Pの左右判定
5
3
40 views
View on Scratch

Instructions

(By-Ay)(Px-Ax)>(Bx-Ax)(Py-Ay) なら右 < なら左 = なら直線上

Description

簡単 三角形ABCが時計回りか反時計回りかとかに使える。 3Dの背面除去とか。 あとは三角形の内側判定とか。

Project Details

Project ID954883778
CreatedJanuary 23, 2024
Last ModifiedJanuary 23, 2024
SharedJanuary 23, 2024
Visibilityvisible
CommentsAllowed