Просмотр исходного кода

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

ivankuzev 14 лет назад
Родитель
Сommit
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
 .. 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)
 .. function:: Color.copy(color)
 
 
     Copies the given color into this color
     Copies the given color into this color