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

Commit a8b8fe91 authored by Stephen Hines's avatar Stephen Hines Committed by Android Git Automerger
Browse files

am 61e8329b: Merge "Replace parentheses with curly braces to fix vector doc bug."

* commit '61e8329b':
  Replace parentheses with curly braces to fix vector doc bug.
parents 92dcbebc 61e8329b
Loading
Loading
Loading
Loading
+1 −1
Original line number 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> 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> Entries of a vector can be accessed using different naming styles.