Return a representation of this vector as a float array. This is only for temporary use. If used in any other fashion, the contents should be copied by using the copy() method to copy into your own array. @webref pvector:method @usage: web_application @webBrief Return a representation of th
()
| 1010 | * @webBrief Return a representation of the vector as a float array |
| 1011 | */ |
| 1012 | public float[] array() { |
| 1013 | if (array == null) { |
| 1014 | array = new float[3]; |
| 1015 | } |
| 1016 | array[0] = x; |
| 1017 | array[1] = y; |
| 1018 | array[2] = z; |
| 1019 | return array; |
| 1020 | } |
| 1021 | |
| 1022 | |
| 1023 | @Override |
no outgoing calls
no test coverage detected