<div class="line"><a class="code hl_class" href="structtgx_1_1_vec2.html">tgx::fVec2</a> v2 = v1; <span class="comment">// conversion: floating point valued vector (10.0f, 30.0f)</span></div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">float</span> x = 2.0f;</div>
<div class="line"><a class="code hl_class" href="structtgx_1_1_vec2.html">tgx::fVec2</a> v3 = { x, 7 }; <span class="comment">// construct the vector from an initializer list. vector (2.0f, 7.0f)</span></div>
<div class="