more comments

This commit is contained in:
minjaesong
2020-02-28 05:14:13 +09:00
parent c406cefd18
commit c4521b9fd9
4 changed files with 17 additions and 2 deletions

View File

@@ -19,6 +19,13 @@ package net.torvald.gdx.graphics
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.utils.NumberUtils
/**
* A Cvec is kind of a Vector4f made compatible with LibGdx's Color class, with the intention of actually utilising
* the JEP 338 VectorInstrinsics later, when the damned thing finally releases.
*
* Before then, the code will be identical to LibGdx's.
*/
/** A color class, holding the r, g, b and alpha component as floats in the range [0,1]. All methods perform clamping on the
* internal values after execution.
*

View File

@@ -2,6 +2,11 @@ package net.torvald.gdx.graphics
import net.torvald.UnsafeHelper
/**
* Basically just a FloatArray. You may need to re-write the entire code to actually store the Vectors,
* maybe in the form of array of objects.
*/
/**
* Created by minjaesong on 2019-06-21.
*/