Searched refs:random_point3 (Results 1 – 2 of 2) sorted by relevance
1694 static SkPoint3 random_point3(SkRandom* random) { in random_point3() function1704 return new SkDistantLight(random_point3(random), random->nextU()); in create_random_light()1707 return new SkPointLight(random_point3(random), random->nextU()); in create_random_light()1710 return new SkSpotLight(random_point3(random), random_point3(random), in create_random_light()
1760 static SkPoint3 random_point3(SkRandom* random) { in random_point3() function1770 return new SkDistantLight(random_point3(random), random->nextU()); in create_random_light()1773 return new SkPointLight(random_point3(random), random->nextU()); in create_random_light()1776 return new SkSpotLight(random_point3(random), random_point3(random), in create_random_light()