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

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

am 905ff51c: am a8b8fe91: am 61e8329b: Merge "Replace parentheses with curly...

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

* commit '905ff51c':
  Replace parentheses with curly braces to fix vector doc bug.
parents ee4e4e79 905ff51c
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.