Differences

This shows you the differences between two versions of the page.

Link to this comparison view

egc:laboratoare:01 [2024/10/06 15:43]
silviu.stancioiu00 [Laboratorul 1]
egc:laboratoare:01 [2025/10/06 19:26] (current)
maria_anca.balutoiu [Cerințe generale de laborator]
Line 253: Line 253:
 glm::mat4 identity2 = glm::​mat4(1);​ // short form for writing identity matrices ​           glm::mat4 identity2 = glm::​mat4(1);​ // short form for writing identity matrices ​          
 glm::vec3 culoare = glm::​vec3(1,​ 0.5, 1); glm::vec3 culoare = glm::​vec3(1,​ 0.5, 1);
-glm::vec2 directie = glm::vec3(-1, 1);+glm::vec2 directie = glm::vec2(-1, 1);
 glm::vec3 pozitie = glm::​vec3(100,​ 10, -20); glm::vec3 pozitie = glm::​vec3(100,​ 10, -20);
 pozitie.x = 2; // you can select components like so: .x .y .z .t .r .g. b. a pozitie.x = 2; // you can select components like so: .x .y .z .t .r .g. b. a
egc/laboratoare/01.txt · Last modified: 2025/10/06 19:26 by maria_anca.balutoiu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0