blob: 566d47ab710f6e93d7345bc54b0e2c879453cff4 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Library VectorMath / Class vec2</title>
<link rel="stylesheet" type="text/css"
href="../styles.css" />
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="../favicon.ico" />
<script src="../client-static.js"></script>
</head>
<body data-library="VectorMath" data-type="vec2">
<div class="page">
<div class="header">
<a href="../index.html"><div class="logo"></div></a>
<a href="../index.html">Dart Documentation</a>
&rsaquo; <a href="../VectorMath.html">VectorMath</a> &rsaquo; <a href="../VectorMath/vec2.html">vec2</a></div>
<div class="nav">
<h2><div class="icon-library"></div><a href="../dart_core.html">dart:core</a></h2><h2><div class="icon-library"></div><a href="../dart_coreimpl.html">dart:coreimpl</a></h2><h2><div class="icon-library"></div><a href="../VectorMath.html">VectorMath</a></h2><ul class="icon">
<li><div class="icon-class"></div><strong>vec2</strong></li>
<li><a href="../VectorMath/vec3.html"><div class="icon-class"></div>vec3</a></li>
<li><a href="../VectorMath/vec4.html"><div class="icon-class"></div>vec4</a></li>
<li><a href="../VectorMath/mat2x2.html"><div class="icon-class"></div>mat2x2</a></li>
<li><a href="../VectorMath/mat2x3.html"><div class="icon-class"></div>mat2x3</a></li>
<li><a href="../VectorMath/mat2x4.html"><div class="icon-class"></div>mat2x4</a></li>
<li><a href="../VectorMath/mat3x2.html"><div class="icon-class"></div>mat3x2</a></li>
<li><a href="../VectorMath/mat3x3.html"><div class="icon-class"></div>mat3x3</a></li>
<li><a href="../VectorMath/mat3x4.html"><div class="icon-class"></div>mat3x4</a></li>
<li><a href="../VectorMath/mat4x2.html"><div class="icon-class"></div>mat4x2</a></li>
<li><a href="../VectorMath/mat4x3.html"><div class="icon-class"></div>mat4x3</a></li>
<li><a href="../VectorMath/mat4x4.html"><div class="icon-class"></div>mat4x4</a></li>
<li><a href="../VectorMath/quat.html"><div class="icon-class"></div>quat</a></li>
</ul>
</div>
<div class="content">
<h2>Class
<strong>vec2</strong></h2>
<div class="doc">
</div>
<h3>Constructors</h3>
<div class="method"><h4 id="vec2">
<span class="show-code">Code</span>
new <strong>vec2</strong>([x_, y_]) <a class="anchor-link" href="#vec2"
title="Permalink to vec2.vec2">#</a></h4>
<div class="doc">
<p>Constructs a new <a class="crossref" href="../VectorMath/vec2.html">vec2</a>. Follows GLSL constructor syntax so many combinations are possible</p>
<pre class="source">
vec2([Dynamic x_, Dynamic y_]) {
x = y = 0.0;
if (x_ is vec2) {
xy = x_.xy;
return;
}
if (x_ is num &amp;&amp; y_ is num) {
x = x_;
y = y_;
return;
}
if (x_ is num) {
x = y = x_;
return;
}
}
</pre>
</div>
</div>
<h3>Methods</h3>
<div class="method"><h4 id="toString">
<span class="show-code">Code</span>
<a href="../dart_core/String.html">String</a> <strong>toString</strong>() <a class="anchor-link" href="#toString"
title="Permalink to vec2.toString">#</a></h4>
<div class="doc">
<p>Returns a printable string</p>
<pre class="source">
String toString() =&gt; '$x,$y';
</pre>
</div>
</div>
<div class="method"><h4 id=":negate">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>operator negate</strong>() <a class="anchor-link" href="#:negate"
title="Permalink to vec2.operator negate">#</a></h4>
<div class="doc">
<p>Returns a new vec2 from -this</p>
<pre class="source">
vec2 operator negate() =&gt; new vec2(-x, -y);
</pre>
</div>
</div>
<div class="method"><h4 id=":sub">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>operator -</strong>(<a href="../VectorMath/vec2.html">vec2</a> other) <a class="anchor-link" href="#:sub"
title="Permalink to vec2.operator -">#</a></h4>
<div class="doc">
<p>Returns a new vec2 from this -
<span class="param">other</span></p>
<pre class="source">
vec2 operator-(vec2 other) =&gt; new vec2(x - other.x, y - other.y);
</pre>
</div>
</div>
<div class="method"><h4 id=":add">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>operator +</strong>(<a href="../VectorMath/vec2.html">vec2</a> other) <a class="anchor-link" href="#:add"
title="Permalink to vec2.operator +">#</a></h4>
<div class="doc">
<p>Returns a new vec2 from this +
<span class="param">other</span></p>
<pre class="source">
vec2 operator+(vec2 other) =&gt; new vec2(x + other.x, y + other.y);
</pre>
</div>
</div>
<div class="method"><h4 id=":div">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>operator /</strong>(other) <a class="anchor-link" href="#:div"
title="Permalink to vec2.operator /">#</a></h4>
<div class="doc">
<p>Returns a new vec2 divided by
<span class="param">other</span></p>
<pre class="source">
vec2 operator/(Dynamic other) {
if (other is num) {
return new vec2(x / other, y / other);
}
if (other is vec2) {
return new vec2(x / other.x, y / other.y);
}
}
</pre>
</div>
</div>
<div class="method"><h4 id=":mul">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>operator *</strong>(other) <a class="anchor-link" href="#:mul"
title="Permalink to vec2.operator *">#</a></h4>
<div class="doc">
<p>Returns a new vec2 scaled by
<span class="param">other</span></p>
<pre class="source">
vec2 operator*(Dynamic other) {
if (other is num) {
return new vec2(x * other, y * other);
}
if (other is vec2) {
return new vec2(x * other.x, y * other.y);
}
}
</pre>
</div>
</div>
<div class="method"><h4 id=":index">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>operator []</strong>(<a href="../dart_core/int.html">int</a> i) <a class="anchor-link" href="#:index"
title="Permalink to vec2.operator []">#</a></h4>
<div class="doc">
<p>Returns a component from vec2. This is indexed as an array with
<span class="param">i</span></p>
<pre class="source">
num operator[](int i) {
assert(i &gt;= 0 &amp;&amp; i &lt; 2);
switch (i) {
case 0: return x; break;
case 1: return y; break;
};
return 0.0;
}
</pre>
</div>
</div>
<div class="method"><h4 id=":setindex">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>operator []=</strong>(<a href="../dart_core/int.html">int</a> i, <a href="../dart_core/num.html">num</a> v) <a class="anchor-link" href="#:setindex"
title="Permalink to vec2.operator []=">#</a></h4>
<div class="doc">
<p>Assigns a component in vec2 the value in
<span class="param">v</span>. This is indexed as an array with
<span class="param">i</span></p>
<pre class="source">
num operator[]=(int i, num v) {
assert(i &gt;= 0 &amp;&amp; i &lt; 2);
switch (i) {
case 0: x = v; return x; break;
case 1: y = v; return y; break;
};
return 0.0;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:length">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get length</strong>() <a class="anchor-link" href="#get:length"
title="Permalink to vec2.get length">#</a></h4>
<div class="doc">
<p>Returns length of this</p>
<pre class="source">
num get length() {
num sum = 0.0;
sum += (x * x);
sum += (y * y);
return Math.sqrt(sum);
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:length2">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get length2</strong>() <a class="anchor-link" href="#get:length2"
title="Permalink to vec2.get length2">#</a></h4>
<div class="doc">
<p>Returns squared length of this</p>
<pre class="source">
num get length2() {
num sum = 0.0;
sum += (x * x);
sum += (y * y);
return sum;
}
</pre>
</div>
</div>
<div class="method"><h4 id="normalize">
<span class="show-code">Code</span>
<a href="../dart_core/void.html">void</a> <strong>normalize</strong>() <a class="anchor-link" href="#normalize"
title="Permalink to vec2.normalize">#</a></h4>
<div class="doc">
<p>Normalizes this</p>
<pre class="source">
void normalize() {
num l = length;
if (l == 0.0) {
return;
}
x /= l;
y /= l;
}
</pre>
</div>
</div>
<div class="method"><h4 id="dot">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>dot</strong>(<a href="../VectorMath/vec2.html">vec2</a> other) <a class="anchor-link" href="#dot"
title="Permalink to vec2.dot">#</a></h4>
<div class="doc">
<p>Returns the dot product of <code>this</code> and
<span class="param">other</span></p>
<pre class="source">
num dot(vec2 other) {
num sum = 0.0;
sum += (x * other.x);
sum += (y * other.y);
return sum;
}
</pre>
</div>
</div>
<div class="method"><h4 id="relativeError">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>relativeError</strong>(<a href="../VectorMath/vec2.html">vec2</a> correct) <a class="anchor-link" href="#relativeError"
title="Permalink to vec2.relativeError">#</a></h4>
<div class="doc">
<p>Returns the relative error between <code>this</code> and
<span class="param">correct</span></p>
<pre class="source">
num relativeError(vec2 correct) {
num this_norm = length;
num correct_norm = correct.length;
num diff_norm = (this_norm - correct_norm).abs();
return diff_norm/correct_norm;
}
</pre>
</div>
</div>
<div class="method"><h4 id="absoluteError">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>absoluteError</strong>(<a href="../VectorMath/vec2.html">vec2</a> correct) <a class="anchor-link" href="#absoluteError"
title="Permalink to vec2.absoluteError">#</a></h4>
<div class="doc">
<p>Returns the absolute error between <code>this</code> and
<span class="param">correct</span></p>
<pre class="source">
num absoluteError(vec2 correct) {
num this_norm = length;
num correct_norm = correct.length;
num diff_norm = (this_norm - correct_norm).abs();
return diff_norm;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:xy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get xy</strong>() <a class="anchor-link" href="#get:xy"
title="Permalink to vec2.get xy">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get xy() =&gt; new vec2(x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="set:xy">
<span class="show-code">Code</span>
<strong>set xy</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:xy"
title="Permalink to vec2.set xy">#</a></h4>
<div class="doc">
<pre class="source">
set xy(vec2 arg) {
x = arg.x;
y = arg.y;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:yx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get yx</strong>() <a class="anchor-link" href="#get:yx"
title="Permalink to vec2.get yx">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get yx() =&gt; new vec2(y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="set:yx">
<span class="show-code">Code</span>
<strong>set yx</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:yx"
title="Permalink to vec2.set yx">#</a></h4>
<div class="doc">
<pre class="source">
set yx(vec2 arg) {
y = arg.x;
x = arg.y;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:r">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get r</strong>() <a class="anchor-link" href="#get:r"
title="Permalink to vec2.get r">#</a></h4>
<div class="doc">
<pre class="source">
num get r() =&gt; x;
</pre>
</div>
</div>
<div class="method"><h4 id="set:r">
<span class="show-code">Code</span>
<strong>set r</strong>(<a href="../dart_core/num.html">num</a> arg) <a class="anchor-link" href="#set:r"
title="Permalink to vec2.set r">#</a></h4>
<div class="doc">
<pre class="source">
set r(num arg) =&gt; x = arg;
</pre>
</div>
</div>
<div class="method"><h4 id="get:g">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get g</strong>() <a class="anchor-link" href="#get:g"
title="Permalink to vec2.get g">#</a></h4>
<div class="doc">
<pre class="source">
num get g() =&gt; y;
</pre>
</div>
</div>
<div class="method"><h4 id="set:g">
<span class="show-code">Code</span>
<strong>set g</strong>(<a href="../dart_core/num.html">num</a> arg) <a class="anchor-link" href="#set:g"
title="Permalink to vec2.set g">#</a></h4>
<div class="doc">
<pre class="source">
set g(num arg) =&gt; y = arg;
</pre>
</div>
</div>
<div class="method"><h4 id="get:s">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get s</strong>() <a class="anchor-link" href="#get:s"
title="Permalink to vec2.get s">#</a></h4>
<div class="doc">
<pre class="source">
num get s() =&gt; x;
</pre>
</div>
</div>
<div class="method"><h4 id="set:s">
<span class="show-code">Code</span>
<strong>set s</strong>(<a href="../dart_core/num.html">num</a> arg) <a class="anchor-link" href="#set:s"
title="Permalink to vec2.set s">#</a></h4>
<div class="doc">
<pre class="source">
set s(num arg) =&gt; x = arg;
</pre>
</div>
</div>
<div class="method"><h4 id="get:t">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>get t</strong>() <a class="anchor-link" href="#get:t"
title="Permalink to vec2.get t">#</a></h4>
<div class="doc">
<pre class="source">
num get t() =&gt; y;
</pre>
</div>
</div>
<div class="method"><h4 id="set:t">
<span class="show-code">Code</span>
<strong>set t</strong>(<a href="../dart_core/num.html">num</a> arg) <a class="anchor-link" href="#set:t"
title="Permalink to vec2.set t">#</a></h4>
<div class="doc">
<pre class="source">
set t(num arg) =&gt; y = arg;
</pre>
</div>
</div>
<div class="method"><h4 id="get:rg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get rg</strong>() <a class="anchor-link" href="#get:rg"
title="Permalink to vec2.get rg">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get rg() =&gt; new vec2(r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="set:rg">
<span class="show-code">Code</span>
<strong>set rg</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:rg"
title="Permalink to vec2.set rg">#</a></h4>
<div class="doc">
<pre class="source">
set rg(vec2 arg) {
r = arg.r;
g = arg.g;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:gr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get gr</strong>() <a class="anchor-link" href="#get:gr"
title="Permalink to vec2.get gr">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get gr() =&gt; new vec2(g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="set:gr">
<span class="show-code">Code</span>
<strong>set gr</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:gr"
title="Permalink to vec2.set gr">#</a></h4>
<div class="doc">
<pre class="source">
set gr(vec2 arg) {
g = arg.r;
r = arg.g;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:st">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get st</strong>() <a class="anchor-link" href="#get:st"
title="Permalink to vec2.get st">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get st() =&gt; new vec2(s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="set:st">
<span class="show-code">Code</span>
<strong>set st</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:st"
title="Permalink to vec2.set st">#</a></h4>
<div class="doc">
<pre class="source">
set st(vec2 arg) {
s = arg.s;
t = arg.t;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:ts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get ts</strong>() <a class="anchor-link" href="#get:ts"
title="Permalink to vec2.get ts">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get ts() =&gt; new vec2(t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="set:ts">
<span class="show-code">Code</span>
<strong>set ts</strong>(<a href="../VectorMath/vec2.html">vec2</a> arg) <a class="anchor-link" href="#set:ts"
title="Permalink to vec2.set ts">#</a></h4>
<div class="doc">
<pre class="source">
set ts(vec2 arg) {
t = arg.s;
s = arg.t;
}
</pre>
</div>
</div>
<div class="method"><h4 id="get:xx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get xx</strong>() <a class="anchor-link" href="#get:xx"
title="Permalink to vec2.get xx">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get xx() =&gt; new vec2(x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get yy</strong>() <a class="anchor-link" href="#get:yy"
title="Permalink to vec2.get yy">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get yy() =&gt; new vec2(y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get xxx</strong>() <a class="anchor-link" href="#get:xxx"
title="Permalink to vec2.get xxx">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get xxx() =&gt; new vec3(x, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get xxy</strong>() <a class="anchor-link" href="#get:xxy"
title="Permalink to vec2.get xxy">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get xxy() =&gt; new vec3(x, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get xyx</strong>() <a class="anchor-link" href="#get:xyx"
title="Permalink to vec2.get xyx">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get xyx() =&gt; new vec3(x, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get xyy</strong>() <a class="anchor-link" href="#get:xyy"
title="Permalink to vec2.get xyy">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get xyy() =&gt; new vec3(x, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get yxx</strong>() <a class="anchor-link" href="#get:yxx"
title="Permalink to vec2.get yxx">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get yxx() =&gt; new vec3(y, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get yxy</strong>() <a class="anchor-link" href="#get:yxy"
title="Permalink to vec2.get yxy">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get yxy() =&gt; new vec3(y, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get yyx</strong>() <a class="anchor-link" href="#get:yyx"
title="Permalink to vec2.get yyx">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get yyx() =&gt; new vec3(y, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get yyy</strong>() <a class="anchor-link" href="#get:yyy"
title="Permalink to vec2.get yyy">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get yyy() =&gt; new vec3(y, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xxxx</strong>() <a class="anchor-link" href="#get:xxxx"
title="Permalink to vec2.get xxxx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xxxx() =&gt; new vec4(x, x, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xxxy</strong>() <a class="anchor-link" href="#get:xxxy"
title="Permalink to vec2.get xxxy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xxxy() =&gt; new vec4(x, x, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xxyx</strong>() <a class="anchor-link" href="#get:xxyx"
title="Permalink to vec2.get xxyx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xxyx() =&gt; new vec4(x, x, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xxyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xxyy</strong>() <a class="anchor-link" href="#get:xxyy"
title="Permalink to vec2.get xxyy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xxyy() =&gt; new vec4(x, x, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xyxx</strong>() <a class="anchor-link" href="#get:xyxx"
title="Permalink to vec2.get xyxx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xyxx() =&gt; new vec4(x, y, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xyxy</strong>() <a class="anchor-link" href="#get:xyxy"
title="Permalink to vec2.get xyxy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xyxy() =&gt; new vec4(x, y, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xyyx</strong>() <a class="anchor-link" href="#get:xyyx"
title="Permalink to vec2.get xyyx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xyyx() =&gt; new vec4(x, y, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:xyyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get xyyy</strong>() <a class="anchor-link" href="#get:xyyy"
title="Permalink to vec2.get xyyy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get xyyy() =&gt; new vec4(x, y, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yxxx</strong>() <a class="anchor-link" href="#get:yxxx"
title="Permalink to vec2.get yxxx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yxxx() =&gt; new vec4(y, x, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yxxy</strong>() <a class="anchor-link" href="#get:yxxy"
title="Permalink to vec2.get yxxy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yxxy() =&gt; new vec4(y, x, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yxyx</strong>() <a class="anchor-link" href="#get:yxyx"
title="Permalink to vec2.get yxyx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yxyx() =&gt; new vec4(y, x, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yxyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yxyy</strong>() <a class="anchor-link" href="#get:yxyy"
title="Permalink to vec2.get yxyy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yxyy() =&gt; new vec4(y, x, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyxx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yyxx</strong>() <a class="anchor-link" href="#get:yyxx"
title="Permalink to vec2.get yyxx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yyxx() =&gt; new vec4(y, y, x, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyxy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yyxy</strong>() <a class="anchor-link" href="#get:yyxy"
title="Permalink to vec2.get yyxy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yyxy() =&gt; new vec4(y, y, x, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyyx">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yyyx</strong>() <a class="anchor-link" href="#get:yyyx"
title="Permalink to vec2.get yyyx">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yyyx() =&gt; new vec4(y, y, y, x);
</pre>
</div>
</div>
<div class="method"><h4 id="get:yyyy">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get yyyy</strong>() <a class="anchor-link" href="#get:yyyy"
title="Permalink to vec2.get yyyy">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get yyyy() =&gt; new vec4(y, y, y, y);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get rr</strong>() <a class="anchor-link" href="#get:rr"
title="Permalink to vec2.get rr">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get rr() =&gt; new vec2(r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:gg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get gg</strong>() <a class="anchor-link" href="#get:gg"
title="Permalink to vec2.get gg">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get gg() =&gt; new vec2(g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get rrr</strong>() <a class="anchor-link" href="#get:rrr"
title="Permalink to vec2.get rrr">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get rrr() =&gt; new vec3(r, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get rrg</strong>() <a class="anchor-link" href="#get:rrg"
title="Permalink to vec2.get rrg">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get rrg() =&gt; new vec3(r, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rgr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get rgr</strong>() <a class="anchor-link" href="#get:rgr"
title="Permalink to vec2.get rgr">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get rgr() =&gt; new vec3(r, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rgg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get rgg</strong>() <a class="anchor-link" href="#get:rgg"
title="Permalink to vec2.get rgg">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get rgg() =&gt; new vec3(r, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get grr</strong>() <a class="anchor-link" href="#get:grr"
title="Permalink to vec2.get grr">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get grr() =&gt; new vec3(g, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get grg</strong>() <a class="anchor-link" href="#get:grg"
title="Permalink to vec2.get grg">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get grg() =&gt; new vec3(g, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ggr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get ggr</strong>() <a class="anchor-link" href="#get:ggr"
title="Permalink to vec2.get ggr">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get ggr() =&gt; new vec3(g, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ggg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get ggg</strong>() <a class="anchor-link" href="#get:ggg"
title="Permalink to vec2.get ggg">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get ggg() =&gt; new vec3(g, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrrr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rrrr</strong>() <a class="anchor-link" href="#get:rrrr"
title="Permalink to vec2.get rrrr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rrrr() =&gt; new vec4(r, r, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrrg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rrrg</strong>() <a class="anchor-link" href="#get:rrrg"
title="Permalink to vec2.get rrrg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rrrg() =&gt; new vec4(r, r, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrgr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rrgr</strong>() <a class="anchor-link" href="#get:rrgr"
title="Permalink to vec2.get rrgr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rrgr() =&gt; new vec4(r, r, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rrgg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rrgg</strong>() <a class="anchor-link" href="#get:rrgg"
title="Permalink to vec2.get rrgg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rrgg() =&gt; new vec4(r, r, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rgrr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rgrr</strong>() <a class="anchor-link" href="#get:rgrr"
title="Permalink to vec2.get rgrr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rgrr() =&gt; new vec4(r, g, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rgrg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rgrg</strong>() <a class="anchor-link" href="#get:rgrg"
title="Permalink to vec2.get rgrg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rgrg() =&gt; new vec4(r, g, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rggr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rggr</strong>() <a class="anchor-link" href="#get:rggr"
title="Permalink to vec2.get rggr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rggr() =&gt; new vec4(r, g, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:rggg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get rggg</strong>() <a class="anchor-link" href="#get:rggg"
title="Permalink to vec2.get rggg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get rggg() =&gt; new vec4(r, g, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grrr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get grrr</strong>() <a class="anchor-link" href="#get:grrr"
title="Permalink to vec2.get grrr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get grrr() =&gt; new vec4(g, r, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grrg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get grrg</strong>() <a class="anchor-link" href="#get:grrg"
title="Permalink to vec2.get grrg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get grrg() =&gt; new vec4(g, r, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grgr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get grgr</strong>() <a class="anchor-link" href="#get:grgr"
title="Permalink to vec2.get grgr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get grgr() =&gt; new vec4(g, r, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:grgg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get grgg</strong>() <a class="anchor-link" href="#get:grgg"
title="Permalink to vec2.get grgg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get grgg() =&gt; new vec4(g, r, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ggrr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ggrr</strong>() <a class="anchor-link" href="#get:ggrr"
title="Permalink to vec2.get ggrr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ggrr() =&gt; new vec4(g, g, r, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ggrg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ggrg</strong>() <a class="anchor-link" href="#get:ggrg"
title="Permalink to vec2.get ggrg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ggrg() =&gt; new vec4(g, g, r, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:gggr">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get gggr</strong>() <a class="anchor-link" href="#get:gggr"
title="Permalink to vec2.get gggr">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get gggr() =&gt; new vec4(g, g, g, r);
</pre>
</div>
</div>
<div class="method"><h4 id="get:gggg">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get gggg</strong>() <a class="anchor-link" href="#get:gggg"
title="Permalink to vec2.get gggg">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get gggg() =&gt; new vec4(g, g, g, g);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get ss</strong>() <a class="anchor-link" href="#get:ss"
title="Permalink to vec2.get ss">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get ss() =&gt; new vec2(s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec2.html">vec2</a> <strong>get tt</strong>() <a class="anchor-link" href="#get:tt"
title="Permalink to vec2.get tt">#</a></h4>
<div class="doc">
<pre class="source">
vec2 get tt() =&gt; new vec2(t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:sss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get sss</strong>() <a class="anchor-link" href="#get:sss"
title="Permalink to vec2.get sss">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get sss() =&gt; new vec3(s, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:sst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get sst</strong>() <a class="anchor-link" href="#get:sst"
title="Permalink to vec2.get sst">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get sst() =&gt; new vec3(s, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:sts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get sts</strong>() <a class="anchor-link" href="#get:sts"
title="Permalink to vec2.get sts">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get sts() =&gt; new vec3(s, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:stt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get stt</strong>() <a class="anchor-link" href="#get:stt"
title="Permalink to vec2.get stt">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get stt() =&gt; new vec3(s, t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get tss</strong>() <a class="anchor-link" href="#get:tss"
title="Permalink to vec2.get tss">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get tss() =&gt; new vec3(t, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get tst</strong>() <a class="anchor-link" href="#get:tst"
title="Permalink to vec2.get tst">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get tst() =&gt; new vec3(t, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get tts</strong>() <a class="anchor-link" href="#get:tts"
title="Permalink to vec2.get tts">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get tts() =&gt; new vec3(t, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ttt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec3.html">vec3</a> <strong>get ttt</strong>() <a class="anchor-link" href="#get:ttt"
title="Permalink to vec2.get ttt">#</a></h4>
<div class="doc">
<pre class="source">
vec3 get ttt() =&gt; new vec3(t, t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ssss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ssss</strong>() <a class="anchor-link" href="#get:ssss"
title="Permalink to vec2.get ssss">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ssss() =&gt; new vec4(s, s, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ssst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ssst</strong>() <a class="anchor-link" href="#get:ssst"
title="Permalink to vec2.get ssst">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ssst() =&gt; new vec4(s, s, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ssts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ssts</strong>() <a class="anchor-link" href="#get:ssts"
title="Permalink to vec2.get ssts">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ssts() =&gt; new vec4(s, s, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:sstt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get sstt</strong>() <a class="anchor-link" href="#get:sstt"
title="Permalink to vec2.get sstt">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get sstt() =&gt; new vec4(s, s, t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:stss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get stss</strong>() <a class="anchor-link" href="#get:stss"
title="Permalink to vec2.get stss">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get stss() =&gt; new vec4(s, t, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:stst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get stst</strong>() <a class="anchor-link" href="#get:stst"
title="Permalink to vec2.get stst">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get stst() =&gt; new vec4(s, t, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:stts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get stts</strong>() <a class="anchor-link" href="#get:stts"
title="Permalink to vec2.get stts">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get stts() =&gt; new vec4(s, t, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:sttt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get sttt</strong>() <a class="anchor-link" href="#get:sttt"
title="Permalink to vec2.get sttt">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get sttt() =&gt; new vec4(s, t, t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tsss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get tsss</strong>() <a class="anchor-link" href="#get:tsss"
title="Permalink to vec2.get tsss">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get tsss() =&gt; new vec4(t, s, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tsst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get tsst</strong>() <a class="anchor-link" href="#get:tsst"
title="Permalink to vec2.get tsst">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get tsst() =&gt; new vec4(t, s, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tsts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get tsts</strong>() <a class="anchor-link" href="#get:tsts"
title="Permalink to vec2.get tsts">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get tsts() =&gt; new vec4(t, s, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tstt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get tstt</strong>() <a class="anchor-link" href="#get:tstt"
title="Permalink to vec2.get tstt">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get tstt() =&gt; new vec4(t, s, t, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ttss">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ttss</strong>() <a class="anchor-link" href="#get:ttss"
title="Permalink to vec2.get ttss">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ttss() =&gt; new vec4(t, t, s, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ttst">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ttst</strong>() <a class="anchor-link" href="#get:ttst"
title="Permalink to vec2.get ttst">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ttst() =&gt; new vec4(t, t, s, t);
</pre>
</div>
</div>
<div class="method"><h4 id="get:ttts">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get ttts</strong>() <a class="anchor-link" href="#get:ttts"
title="Permalink to vec2.get ttts">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get ttts() =&gt; new vec4(t, t, t, s);
</pre>
</div>
</div>
<div class="method"><h4 id="get:tttt">
<span class="show-code">Code</span>
<a href="../VectorMath/vec4.html">vec4</a> <strong>get tttt</strong>() <a class="anchor-link" href="#get:tttt"
title="Permalink to vec2.get tttt">#</a></h4>
<div class="doc">
<pre class="source">
vec4 get tttt() =&gt; new vec4(t, t, t, t);
</pre>
</div>
</div>
<h3>Fields</h3>
<div class="field"><h4 id="x">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>x</strong> <a class="anchor-link"
href="#x"
title="Permalink to vec2.x">#</a>
</h4>
<div class="doc">
<pre class="source">
num x;
</pre>
</div>
</div>
<div class="field"><h4 id="y">
<span class="show-code">Code</span>
<a href="../dart_core/num.html">num</a> <strong>y</strong> <a class="anchor-link"
href="#y"
title="Permalink to vec2.y">#</a>
</h4>
<div class="doc">
<pre class="source">
num y;
</pre>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="footer"></div>
</body></html>