Browse Source

added docs for 2 functions in color that are not in the r47

ivankuzev 13 năm trước cách đây
mục cha
commit
b73e502db0
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      docs/api/core/Color.rst

+ 8 - 0
docs/api/core/Color.rst

@@ -25,6 +25,14 @@ Color - Represents a color
 
 .. rubric:: Methods
 
+.. function:: Color.convertGammaToLinear()
+
+    Converts this color from gamma color to linear color
+
+.. function:: Color.convertLinearToGamma()
+
+    Converts this color from linear color to gamma color
+
 .. function:: Color.copy(color)
 
     Copies the given color into this color