-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.xml
24 lines (22 loc) · 1.42 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Programming Posts</title>
<link>/</link>
<description>Recent content on Programming Posts</description>
<image>
<url>%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
<link>%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
</image>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 12 Sep 2021 11:30:03 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>How to check if there was a collision between two rotated rectangles</title>
<link>/post/rotated-rectangle-collisions/</link>
<pubDate>Sun, 12 Sep 2021 11:30:03 +0000</pubDate>
<guid>/post/rotated-rectangle-collisions/</guid>
<description>Recently I had the need to determine whether or not two rotated rectangles were colliding. These rectangles were rotated around their centers and were of the form x, y, w, h, a, where a is the rotation angle in radians.
I searched online for a bit and found out that one way is to convert the rectangles into a series of line segments and then use the Separating Axis Theorem to determine if there was an intersection.</description>
</item>
</channel>
</rss>