<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n-trino</author_name>
  <author_url>https://blog.hatena.ne.jp/n-trino/</author_url>
  <blog_title>trinoの走り書き</blog_title>
  <blog_url>https://n-trino.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラム</anon>
    <anon>数学</anon>
  </categories>
  <description>そんな用語はありません。私が勝手に作りました。矩形同士の当たり判定というのはよく扱うわけで方法が載っているサイトはたくさん存在します。そんなに難しい話しではありませんが一応解説。 いきなり2次元で考えるとちょっと難しいので1次元で考えて見ましょう。当たっている状態を考えるのもちょっと面倒なので、当たっていない状態を考えてみましょう。棒１の右の点をright1、左の点をleft1で棒２に関しても同様とする。当たっていない条件は、 ( right1 となるのはちょっと考えればわかるだろう。んで、欲しいのはこの逆なので !( ( right1 となる。さらに、ド・モルガンの法則により、 !( rig…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn-trino.hatenadiary.org%2Fentry%2F20051024%2Fp1&quot; title=&quot;動的当たり判定 - trinoの走り書き&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-10-24 00:00:01</published>
  <title>動的当たり判定</title>
  <type>rich</type>
  <url>https://n-trino.hatenadiary.org/entry/20051024/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
