vertical carousel renderscript
问题 I need some help with the CarouselExample that can be checked out using this link. I want to make it spin vertically. I found a method in the .rs file called getMatrixForCard where the transformations on the matrix of the cards is done. Here is the method: static bool getMatrixForCard(rs_matrix4x4* matrix, int i, bool enableSway, bool enableCardMatrix) { float theta = cardPosition(i); float swayAngle = getSwayAngleForVelocity(velocity, enableSway); rsMatrixRotate(matrix, degrees(theta), 0, 1,