Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Burst.Compiler.IL.Tests.Helpers;
  2. using Unity.Mathematics;
  3. namespace Burst.Compiler.IL.Tests
  4. {
  5. internal partial class VectorsStatics
  6. {
  7. [TestCompiler]
  8. public static float Float4Zero()
  9. {
  10. return (float4.zero).x;
  11. }
  12. [TestCompiler]
  13. public static float Float3Zero()
  14. {
  15. return (float3.zero).x;
  16. }
  17. [TestCompiler]
  18. public static float Float2Zero()
  19. {
  20. return (float2.zero).x;
  21. }
  22. [TestCompiler]
  23. public static int Int4Zero()
  24. {
  25. return (int4.zero).x;
  26. }
  27. [TestCompiler]
  28. public static int Int3Zero()
  29. {
  30. return (int3.zero).x;
  31. }
  32. [TestCompiler]
  33. public static int Int2Zero()
  34. {
  35. return (int2.zero).x;
  36. }
  37. }
  38. }