Няма описание
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.

123456789101112131415161718192021222324252627282930
  1. using Burst.Compiler.IL.Tests.Helpers;
  2. using Unity.Mathematics;
  3. namespace Burst.Compiler.IL.Tests
  4. {
  5. internal partial class VectorsBools
  6. {
  7. // ---------------------------------------------------
  8. // ! operator
  9. // ---------------------------------------------------
  10. [TestCompiler(DataRange.Standard)]
  11. public static int Bool4Not(ref bool4 a)
  12. {
  13. return Vectors.ConvertToInt(!a);
  14. }
  15. [TestCompiler(DataRange.Standard)]
  16. public static int Bool3Not(ref bool3 a)
  17. {
  18. return Vectors.ConvertToInt(!a);
  19. }
  20. [TestCompiler(DataRange.Standard)]
  21. public static int Bool2Not(ref bool2 a)
  22. {
  23. return Vectors.ConvertToInt(!a);
  24. }
  25. }
  26. }