Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61e8329b authored by Stephen Hines's avatar Stephen Hines Committed by Gerrit Code Review
Browse files

Merge "Replace parentheses with curly braces to fix vector doc bug."

parents 0eba4019 6c304d36
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -43,7 +43,7 @@ E.g. <a href='rs_value_types.html#android_rs:float4'>float4</a>, <a href='rs_val
</p>
</p>


<p> To create vector literals, use the vector type followed by the values enclosed
<p> To create vector literals, use the vector type followed by the values enclosed
between parentheses, e.g. <code>(float3)(1.0f, 2.0f, 3.0f)</code>.
between curly braces, e.g. <code>(float3){1.0f, 2.0f, 3.0f}</code>.
</p>
</p>


<p> Entries of a vector can be accessed using different naming styles.
<p> Entries of a vector can be accessed using different naming styles.