* Rename CLA files so they no longer say "draft." * Change CONTRIBUTING.mv to correctly describe the new CLA process, remove language related to the old SPI CLAs. Also some touchups to README.md. * Update the project_intake.md to check of various things that we've completed. * Change all references to the old imageworks GitHub URLs to the new ASWF ones. (This touches comments at the start of basically every file.) Signed-off-by: Larry Gritz <lg@larrygritz.com>
18 lines
499 B
Plaintext
18 lines
499 B
Plaintext
// Copyright Contributors to the Open Shading Language project.
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
|
|
|
|
void print_array_contents (string name, float f[])
|
|
{
|
|
printf ("%s array length %d\n", name, arraylength(f));
|
|
for (int i = 0; i < arraylength(f); ++i)
|
|
printf (" [%d] = %g\n", i, f[i]);
|
|
}
|
|
|
|
|
|
shader test (float a[] = {0}, float b[] = {0})
|
|
{
|
|
print_array_contents ("a", a);
|
|
print_array_contents ("b", b);
|
|
}
|