<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>malibu-bulldog</author_name>
  <author_url>https://blog.hatena.ne.jp/malibu-bulldog/</author_url>
  <blog_title>malibu-bulldogの日記</blog_title>
  <blog_url>https://malibu-bulldog.hatenadiary.org/</blog_url>
  <categories>
    <anon>Program Technique</anon>
  </categories>
  <description>メッシュデータの読み込み - malibu-bulldogの日記でVectorとColorについて書きますとか言っていながらちょっと日がたちましたが… template class Vector{ union{ TYPE vec[4]; struct{ TYPE x; TYPE y; TYPE z; TYPE w; }; }; }; こんな風にしてます。 テンプレートなのは基本はdoubleで使いたいものの、たまーにfloatも出番があるし、intもあるから。wがあるのは同次座標系（簡単に言えば回転と平行移動を一つの行列で表せる）なので。 メンバを配列と構造体の共用体にしているのは配列としてア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmalibu-bulldog.hatenadiary.org%2Fentry%2F20071019%2F1192757819&quot; title=&quot;ベクトル型はこんな風に - malibu-bulldogの日記&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>2007-10-19 10:36:59</published>
  <title>ベクトル型はこんな風に</title>
  <type>rich</type>
  <url>https://malibu-bulldog.hatenadiary.org/entry/20071019/1192757819</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
