Ver Fonte

Documented the new pre-condition.

David Piuva há 5 anos atrás
pai
commit
0d3f053876
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      Source/SDK/sandbox/sprite/spriteAPI.cpp

+ 1 - 0
Source/SDK/sandbox/sprite/spriteAPI.cpp

@@ -860,6 +860,7 @@ static void clampTriangleWeight(FVector3D& weight) {
 
 
 // Pre-conditions:
 // Pre-conditions:
 //   * All images must exist and have the same dimensions
 //   * All images must exist and have the same dimensions
+//   * diffuseTarget and normalTarget must have RGBA pack order
 //   * All triangles in model must be contained within the image bounds after being projected using view
 //   * All triangles in model must be contained within the image bounds after being projected using view
 // Post-condition:
 // Post-condition:
 //   Returns the dirty pixel bound based on projected positions
 //   Returns the dirty pixel bound based on projected positions