MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / vec3

Method vec3

Common/nvVector.h:396–402  ·  view source on GitHub ↗

Default/scalar constructor

Source from the content-addressed store, hash-verified

394
395 // Default/scalar constructor
396 vec3(const T &t = T())
397 {
398 for (int i = 0; i < size(); i++)
399 {
400 _array[i] = t;
401 }
402 }
403
404 // Construct from array
405 vec3(const T *tp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected