交差判定アルゴリズム

このエントリーをはてなブックマークに追加
31デフォルトの名無しさん
if( rand()%2 )
{
 printf("交差してます");
} else {
 printf("交差してません");

}