فهرست منبع

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

ivankuzev 13 سال پیش
والد
کامیت
b73e502db0
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  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