<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>USAGI-WRP</author_name>
  <author_url>https://blog.hatena.ne.jp/USAGI-WRP/</author_url>
  <blog_title>C++ ときどき ごはん、わりとてぃーぶれいく☆</blog_title>
  <blog_url>https://usagi.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>UE4</anon>
    <anon>Advent Calendar</anon>
    <anon>2017</anon>
    <anon>Quiz</anon>
    <anon>part-2</anon>
  </categories>
  <description>（この記事は前の投稿 CPP-QUIZ from Unreal 2017 ( part-2/2; 出題編 ) に対応する答え編です。） 2. こたえ Q1. float 型の [ 0.0 .. 1.0 ] の値を uint8 型の [ 0 .. 256 ) へ写像したかった 出題のソースコードでは、 &quot;出力が 255 となる元の値の範囲&quot; が 0 から 254 のそれぞれに対応する範囲に対して均等とならない問題が発生する。 例えば、値がグレイスケールカラーの輝度値を表す場合に出題のソースコードを用いると、入力が 1.0 未満の場合に本来よりも僅かに明るくシフトしてしまう結果となる。グレイスケー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fusagi.hatenablog.jp%2Fentry%2F2017%2F12%2F01%2Fac_cpp_p2&quot; title=&quot;CPP-QUIZ from Unreal 2017 ( part-2/2; 答え編 ) - C++ ときどき ごはん、わりとてぃーぶれいく☆&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>2017-12-01 00:06:00</published>
  <title>CPP-QUIZ from Unreal 2017 ( part-2/2; 答え編 )</title>
  <type>rich</type>
  <url>https://usagi.hatenablog.jp/entry/2017/12/01/ac_cpp_p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
